java.tmbundle icon indicating copy to clipboard operation
java.tmbundle copied to clipboard

Syntax highlighting problem

Open charpov opened this issue 10 years ago • 1 comments

This code:

throw new Ex
  ("msg: ("+ x + ")");
int var = allMessedUp;

is not properly highlighted (all the code after the throw statement is the color of string literals).

charpov avatar Nov 06 '14 14:11 charpov

Your coding style breaks multiple syntax highlighters. For example the GitHub syntax highlighter:

throw new Ex
  ("msg: ("+ x + ")");
int var = allMessedUp;

I suggest you to consider rethinking your coding style for better readability and less syntax highlighter problems. For example:

throw new Ex("msg: ("+ x + ")");
int var = allMessedUp;

McPringle avatar Jan 28 '18 13:01 McPringle