bjgf issueshttps://gitlab.bluej.org/bluej/bjgf/-/issues2018-12-14T13:22:55Zhttps://gitlab.bluej.org/bluej/bjgf/-/issues/624[BLUEJ-635] Enums in Stride2018-12-14T13:22:55ZNeil Brown[BLUEJ-635] Enums in StrideAdd support for enums into Stride.
---
**Issue metadata**
- Issue type: Task
- Priority: MediumAdd support for enums into Stride.
---
**Issue metadata**
- Issue type: Task
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/622[BLUEJ-633] Improve printing support in Stride2020-02-17T12:54:17ZNeil Brown[BLUEJ-633] Improve printing support in StrideThere is now printing support in Stride, but it only works if the class fits neatly on to one page. Really, this needs doing like the Java printing, scrolling down/clipping&translating to put one bit on each page, with the editor resize...There is now printing support in Stride, but it only works if the class fits neatly on to one page. Really, this needs doing like the Java printing, scrolling down/clipping&translating to put one bit on each page, with the editor resized to fit width.
The difficult part is that we really need to make an off-screen copy to avoid JavaFX's printing issues with printing real visible items. We do already have that makeDisplayClone mechanism (or whatever it is called) for some threads, so maybe we just need to expand that to whole frames.
---
**Issue metadata**
- Issue type: Task
- Priority: Lowhttps://gitlab.bluej.org/bluej/bjgf/-/issues/620[BLUEJ-631] When Stride font size is increased, text spacing is not2020-02-17T12:38:12ZNeil Brown[BLUEJ-631] When Stride font size is increased, text spacing is notFor example, the gaps between items in a method field header, or in a var frame. These are probably currently done in pixels, but should be em, or otherwise scaled up by font size.
---
**Issue metadata**
- Issue type: Task
- Priority...For example, the gaps between items in a method field header, or in a var frame. These are probably currently done in pixels, but should be em, or otherwise scaled up by font size.
---
**Issue metadata**
- Issue type: Task
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/618[BLUEJ-629] Make code completion for generic types insert <,,>2018-10-19T16:01:41ZNeil Brown[BLUEJ-629] Make code completion for generic types insert <,,>When you auto-complete a generic type like ArrayList, the name is inserted as if it is the complete type, and focus moved on. As Fabio pointed out, this isn't really right; we should insert ArrayList<> with the cursor in the angle brack...When you auto-complete a generic type like ArrayList, the name is inserted as if it is the complete type, and focus moved on. As Fabio pointed out, this isn't really right; we should insert ArrayList<> with the cursor in the angle brackets (similarly, Map<,> with comma and cursor before comma). Inserting the angle brackets is straightforward, but we also need to upgrade AssistContent to record and expose knowledge about generic type's type parameters.
Our decision was that as soon as the type slot contains a recognised generic type, we will automatically add the <,,> afterwards, a bit like we already adjust the commas in the method call parameters when we recognise a method name. (Difference being we will add the brackets this time, rather than them already being there.)
---
**Issue metadata**
- Issue type: Task
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/609[BLUEJ-620] Enum value with body messes up object bench/codepad2018-10-19T16:01:41ZNeil Brown[BLUEJ-620] Enum value with body messes up object bench/codepadPretty obscure bug. If you use an enum with a body, it is technically given a different type by the Java runtime, I believe. If you try to "Get" this enum value on to the object bench, the codepad will no longer work (returning "<ident...Pretty obscure bug. If you use an enum with a body, it is technically given a different type by the Java runtime, I believe. If you try to "Get" this enum value on to the object bench, the codepad will no longer work (returning "<identifier expected>" for "1+2"), I presume because we are generating bad code in the shell class. To reproduce, use this code:
{code:java}
enum Color
{
RED(255,0,0), // Constructor arguments
GRAY(128,128,128) // Individual body:
{
public String toString() { return "gray/grey"; }
},
BLACK(0,0,0);
// Group body:
int red, green, blue;
private Color(int red, int green, int blue)
{
this.red=red;this.green=green;this.blue=blue;
}
}
{code}
Then inspect the Color class, and try to "Get" the middle enum (grey) to the object bench, then use the codepad.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/573[BLUEJ-573] Debugger does not show local variables2018-10-05T13:40:23ZNeil Brown[BLUEJ-573] Debugger does not show local variablesDebugger does not show local variables (including parameters) when stepping through a method in a class with generic type.
---
**Issue metadata**
- Issue type: Bug
- Priority: MediumDebugger does not show local variables (including parameters) when stepping through a method in a class with generic type.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/257[BLUEJ-257] Code completion does not work in code pad2018-10-19T16:01:40ZNeil Brown[BLUEJ-257] Code completion does not work in code pad...but probably should.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium...but probably should.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium