Another nice feature, for those of us interfacing with Java code, is smart completion for enum members.
If the expected type in the current context is a Java enum type, it would be convenient to have the member values suggested when invoking smart completion.
Thanks for implementing this, much appreciated :)
I assume the "new <anonymous implementation>" was also added as part of this feature? (I don't remember seeing it offered before)
-tt
Yes, but just for smart completion. For basic completion it will be implemented soon.
Best regards,
Alexander Podkhalyuzin.
Thanks, I never noticed that this was proposed for "regular completion" in Java :)
Hi Alexander,
Variants are provided after 'new' as rhs of simple var assignment.
However, in other cases they are not, for example (ugly Java-style Scala):
-tt
Another nice feature, for those of us interfacing with Java code, is smart completion for enum members.
If the expected type in the current context is a Java enum type, it would be convenient to have the member values suggested when invoking smart completion.
-tt