Sublime Forum

Java comment not graying

#1

Using java, if I have a comment after a function like so:

public foo() //This is a comment { }

The comment does not turn gray. That is to say, the syntax highlighting doesn’t consider it a comment. If I place a comment anywhere else, however, it works just fine.

How can I change this?

0 Likes