Skip to content

Autocomplete does not complete full enum type. #1628

@safield

Description

@safield

Java Extension v0.67
VSCode v1.49.1

I have an enum type defined.

class MyClass {
    public enum MyEnum {
        VAL1,
        VAL2
    }
}

When typing this enum's name MyClass.MyEnum, it is not being completed.

Observe the following example of half typed code...

if (myEnumVar == MyC ) {
}

In this example, I would expect MyClass.MyEnum to be proposed as one of the autocomplete options. This is not the case though. MyClass is not even proposed at all.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions