redhat-developer / redhat-developer/vscode-java
Syntax highlighting and checking often breaks while typing comments
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
Describe the bug
When I type comments into Java code, the syntax checking and highlighting sometimes gets out-of-sync for code below the comment insertion point.
To Reproduce
Steps to reproduce the behavior:
- Type a comment
- Observe that the syntax highlighting breaks
- After waiting a second, type one more character, and observe that it fixes itself
This appears to happen for all projects for me, so I don't think a minimal reproducible example is possible. I don't even know where to start with making a minimal example.
Expected behavior
Syntax highlighting consistently and immediately updates as I type.
Environment
- Operating System: NixOS 25.11, but have also reproduced on Fedora Linux
- JDK version: 21
- Visual Studio Code version: 1.113.0
- Java extension version: 1.53.0
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 report names no source files, tests, or entry points. Start by reproducing the delayed comment update in the VS Code Java extension with the listed JDK and editor versions, then trace the incremental syntax-checking and highlighting path; done means updates remain immediate and consistent while typing comments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100