redhat-developer / vscode-java

Java Language Support for Visual Studio Code
Eclipse Public License 2.0
2.08k stars 433 forks source link

Text block with escape new line breaks syntax highlighting #3488

Open hugheb2 opened 8 months ago

hugheb2 commented 8 months ago

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

Environment
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 commented 8 months ago

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

fbricon commented 8 months ago

@hopehadfield PTAL