java.tmbundle icon indicating copy to clipboard operation
java.tmbundle copied to clipboard

Java annotation default string value Highlighting is broken

Open ErikBrendel opened this issue 4 years ago • 0 comments

As can be seen on GitHub, for example here: https://github.com/junit-team/junit4/blob/r4.12/src/main/java/org/junit/runners/Parameterized.java#L192

After String name() default "{index}";, nearly everything is highlighted as being a string, which is false. The code in question is valid (see e.g. https://docs.oracle.com/javase/tutorial/java/annotations/declaring.html). It seems to me that the syntax highlighting rules for Java are wrong in this case. Can you have a look into that?

Image: Screenshot_20211105-194251

ErikBrendel avatar Nov 05 '21 18:11 ErikBrendel