Sublime Forum

Java highlighting bug when concatenating strings

#1

For the following java code,

static final String FOO = “Hello” + foo(“BAR”) + “World”;

Not all String constants are highlighted correctly. “Hello” is yello, but “BAR” and “World” are not.

This is a simple example, but this causes trouble for bigger strings and programs.

0 Likes