redhat-developer / redhat-developer/vscode-java
Java Syntax high light incorrection
Open
Nobody has claimed this yet.
highlighting
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
[provide a description of the issue]
Environment
- Operating System: Win10 1809 OS Build 17763.253
- JDK version: tested on both 1.8u201 and 1.8u121
- Visual Studio Code version: latest 1.31.0 and previous version
- Java extension version: 0.5.0
Steps To Reproduce
- [step 1] java code example:
_log.log(Level.DEBUG, ">>>> GET report for Id: {} maxRows={} isPartialOkay={}", reportId, maxRows, isPartialOkay);
- [step 2]
[attach a sample project reproducing the error]
attach logs
Current Result
string coloring mess up. large portion of the file after this become string color until later

after about 100 lines later.

Expected Result
This is from sublime text

Additional Informations
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.
Research direction
The payload names no source files, tests, or entry points. Reproduce the issue in the VS Code Java extension with the provided _log.log snippet, then compare highlighting before and after the reported spillover; done means Java strings and following code receive correct syntax colors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100