Skip to content

No code assist on enum value while typing a switch statement #762

@mauromol

Description

@mauromol

Consider the following enum:

package test40;
public enum MyEnum {
	FOO, BAR;
}

And the following Groovy class:

package test40
class Test40 {
	void foo() {
		MyEnum e = MyEnum.FOO
		switch(e) {
			case MyEnum.FO|
		}
	}
}

Let the cursor be at "|" and invoke code assist to complete MyEnum.FOO: no suggestion is given.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions