redhat-developer / redhat-developer/vscode-java
Git changes highlighting missing when Java project is open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
While working with Java in VS Code, I noticed Git changes highlighting missing when Java project is open.
Environment
- Operating System: Windows 10
- JDK version: OpenJDK
java version "17.0.2" 2022-01-18 LTS
Java(TM) SE Runtime Environment (build 17.0.2+8-LTS-86)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.2+8-LTS-86, mixed mode, sharing)
- Visual Studio Code version:
1.66.0 - Java extension version:
v0.22.2
Steps To Reproduce
- Open or create basic Java project (with Gradle?).
- Initialize git in the project directory.
- Create initial commit.
- Do some changes.
Current Result
No difference colours while in editor with Java project open:

Meanwhile other editor (without Java project open):

Expected Result
I wish Java extensions haven't mess up Git highlighting...
Additional Information
If logs are necessary, what should I include for visual bugs?
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
Reproduce the missing Git change highlighting in the listed Windows 10, JDK 17, VS Code 1.66.0, and Java extension v0.22.2 environment using the Java project and Git steps provided. Compare the Java project editor with the non-Java editor, then identify the relevant extension entry point and verify that changed files show the expected editor colours.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, java, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100