java.tmbundle
java.tmbundle copied to clipboard
Java enum with values coloring is off
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