java.tmbundle
java.tmbundle copied to clipboard
Incorrect Java syntax highlighting for parentheses inside strings inside parentheses beginning a new line
From @david-russo on October 11, 2016 10:38
- VSCode Version: 1.6.0
- OS Version: Windows 7 (64-bit)
Steps to Reproduce:
- Open a new file a select the Java language mode
- Paste the following code into the editor:
new String
("(A)" + "B");
new String("Following line");
"String", the quoted string literal, and all syntax following this line will be miscoloured. Compare:
new String("(A)" + "B");
new String("Following line");
Interestingly, GitHub's colourizer also seems to suffer from the same issue.
Copied from original issue: Microsoft/vscode#13489