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 #13489

Closed
david-russo opened this issue Oct 11, 2016 · 2 comments
Assignees

Comments

@david-russo
Copy link

david-russo commented Oct 11, 2016

  • 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.

@aeschli
Copy link
Contributor

aeschli commented Oct 11, 2016

This issue was moved to textmate/java.tmbundle#46

@david-russo
Copy link
Author

There already seems to be an issue there from 2014 relating to this. And having the issue closed here, where's it's causing a problem, signals to me that no one here is interested in getting this problem fixed... Am I wrong, or is this essentially being ignored?

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants