Sublime Forum

Java Highlighting issue

#1

Hi all,
I have a very simple java class where the code is wrongly highlighted:

public class Sublime {

    private static final String XXX = String.valueOf(")}");

	public static void main(String[] args) {
		System.out.println(XXX);
	}
}

this is the result on 2.0.2 build 2221 on MacOSX.
https://www.dropbox.com/s/xndz5rghkzr3h9r/sublime-javahighlighting.png?dl=0

How can I submit a bug report?

0 Likes

#2

First you should use the latest version of SublimeText (I doubt there will be any bug fix for ST2), where I think there is no highlight issue for the code you posted (can’t see your screenshot, but this looks fine for me on build 3107).

As for the general question about bug report for syntax highlight issue, this can be done on the official github repo.

0 Likes