Sublime Forum

Highlighting Issues

#1

The latest update seems to have broken highlighting of certain text that was previously working fine in Java. Annotations are no longer their previous color, instead reverting to the default color. Final variables (capitalized) are now mixed between being properly colored and being the default color.

EDIT: Reverted back to 3126 for a screenshot and noticed the return type is also no longer highlighted. I’m entirely uncertain if periods previously having a color was a mistake or not, but they no longer use it.

3126
Imgur

3143
Imgur

0 Likes

#2

Some changes were on purpose, for better consistency, others may be bugs. It looks as though you are using a custom color scheme. Most likely it isn’t highlighting the recommended scopes: http://www.sublimetext.com/docs/3/scope_naming.html#color_schemes.

If you think there is a bug in the syntax highlighting, post a sample of code at https://github.com/sublimehq/Packages/issues with an explanation of what exactly you think is wrong and the community can check it out and see if there is anything to fix.

1 Like

#3

Thanks for the reply. I can confirm that on the default theme and adaptive theme, these issues still persist.

I made a post as you said with sample code to reproduce the syntax coloring issues. https://github.com/sublimehq/Packages/issues/1146

0 Likes

#4

You may also ask the color scheme author to update its color scheme to add support for the new scopes introduced with 3143.

0 Likes