You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some things are not going to work as you may expect, like:
switch (e) {
case |
}
will probably not propose the enum type. And completion will not hide enum values that are already present in other case labels. And fields, methods, etc. that match the switch type are not boosted to the top of the proposals.
Lastly, Groovy does not support the same form of switch for enums:
The described use case is fixed in 3.2.0.xx-201811182243-e48, but indeed having code assist propose the enum values when no character is typed would be desirable. I'm going to open a new issue for that.
Consider the following enum:
And the following Groovy class:
Let the cursor be at "|" and invoke code assist to complete
MyEnum.FOO
: no suggestion is given.The text was updated successfully, but these errors were encountered: