Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java enum with values coloring is off #40

Open
aeschli opened this issue Jan 11, 2016 · 0 comments
Open

Java enum with values coloring is off #40

aeschli opened this issue Jan 11, 2016 · 0 comments

Comments

@aeschli
Copy link

aeschli commented Jan 11, 2016

From @Matthijs-Wessels on December 22, 2015 23:24

The coloring of java enums if off when you add values. The strings in the below example will be colored as if it's code (i.e. 'Banana', 'Apple', 'Co' and 'Nut' are blue; and 'co' is white

public enum Fuit {
    Banana ("Banana"),
    Apple ("Apple"),
    Coconut ("Co co Nut");

    public final String text;

    private Option(final String text) {
        this.text = text;
    }
}

Copied from original issue: microsoft/vscode#1594

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant