Bugs in completion suggestion

andrei.eremeev andrei.eremeev at oracle.com
Wed Apr 22 09:48:27 UTC 2015


Hi REPL team,

Bugs in completion suggestions:

Completion analysis does not work:
1. in method parameters,
   - void f(Str|
   - for (Str|

2. for primitive types:
   - doub|

3. for Java key words (but this might be overkill):
   - fo|
   - whi|

4. "new" is not suggested when there is a non-static inner class (see 
example).
class A {
     class Inner {}
}
A a = new A();

a.| <- "new" is not suggested
a.new In| <- REPL suggests too much classes while Inner is only 
applicable here.

Andrei Eremeev


More information about the kulla-dev mailing list