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

Text block with escape new line breaks syntax highlighting #3488

Open
hugheb2 opened this issue Feb 5, 2024 · 2 comments
Open

Text block with escape new line breaks syntax highlighting #3488

hugheb2 opened this issue Feb 5, 2024 · 2 comments
Assignees

Comments

@hugheb2
Copy link

hugheb2 commented Feb 5, 2024

Adding the escape new line character \ to Java text blocks breaks syntax highlighting.

Environment
  • Operating System: Ubuntu 22.04
  • JDK version: 17
  • Visual Studio Code version: 1.86
  • Java extension version: 1.27.0
Steps To Reproduce
  1. Have a few Java text blocks and gradually add the escape new line character \ to see the bug in action.
Current Result

With escape new line characters \ - broken syntax highlighting:
image

Without escape new line characters \ - syntax highlighting is correct:
image

@hugheb2
Copy link
Author

hugheb2 commented Feb 5, 2024

Noticed a secondary side effect using the escape new line characters, the overview pane will then contain these black lines:
image

@fbricon
Copy link
Collaborator

fbricon commented Feb 5, 2024

@hopehadfield PTAL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

3 participants