redhat-developer / redhat-developer/vscode-java
Text block with escape new line breaks syntax highlighting
Open
@hopehadfield is already working on this.
Since Feb 5, 2024.
bug
highlighting
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
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
- 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:
Without escape new line characters \ - syntax highlighting is correct:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.