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 annotation default string value Highlighting is broken #63

Open
ErikBrendel opened this issue Nov 5, 2021 · 0 comments
Open

Java annotation default string value Highlighting is broken #63

ErikBrendel opened this issue Nov 5, 2021 · 0 comments

Comments

@ErikBrendel
Copy link

ErikBrendel commented Nov 5, 2021

As can be seen on GitHub, for example here: https:/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

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