Skip to content

Enum Completion does not include Type #304

@czangl-aimit

Description

@czangl-aimit

With this example enum:

public enum FooBar {
  FOO,
  BAR,
}

when using it as

var a = FooBar.FOO;
if (a != 

I can trigger completion at this point and I get the correct list that includes FOO and BAR. However after selecting BAR in the completion I get

if (a != BAR

instead of

if (a != FooBar.BAR

Is this something that could be fixed in coc-java or is it a problem in the language server?

btw, thanks for such a helpful tool! :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions