Sublime Forum

[Solved] JSP syntax highlighting is not working

#1

I work at a company where ST3 is widely used. We all have the same issue with certain JSP page in our code.

The syntax highlighting seems to break and we end up with 1/3 of the file highlighting correctly, 1/3 one color and the last third another.

Running Build 3114 on OSX 10.11.5

0 Likes

#2

Through a small amount of testing it looks like it is the nested { that is breaking it. I can get it to function correctly with this small change:

0 Likes

#3

This has been fixed at https://github.com/sublimehq/Packages and will be part of dev build 3115.

2 Likes

#4

Thanks @kingkeith :smiley: May want to check your link. I think the ‘3’ was in error?

0 Likes

#5

@Tek, oops, yes - thanks - corrected :wink:

0 Likes