Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Java syntax highlighting for parentheses inside strings inside parentheses beginning a new line #46

Open
aeschli opened this issue Oct 11, 2016 · 1 comment

Comments

@aeschli
Copy link

aeschli commented Oct 11, 2016

From @david-russo on October 11, 2016 10:38

  • VSCode Version: 1.6.0
  • OS Version: Windows 7 (64-bit)

Steps to Reproduce:

  1. Open a new file a select the Java language mode
  2. 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");

java-syntax-highlighting-problem

Interestingly, GitHub's colourizer also seems to suffer from the same issue.

Copied from original issue: microsoft/vscode#13489

@McPringle
Copy link
Contributor

By the way, this issue is a duplicate of #28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants