redhat-developer / redhat-developer/vscode-java
Avoid need of restart of Visual Studio Code when updating java.home
Open
Nobody has claimed this yet.
enhancement
ux
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
It would be nice to not have to restart Visual Studio Code when changing Java Home
Environment
- Operating System:
- JDK version:
- Visual Studio Code version:
- Java extension version:
Steps To Reproduce
- File -> Preferences -> Settings -> Java -> Home -> Edit in settings.json
2.provide a different value to java.home - save
Current Result
a notification is provided asking to restart

Expected Result
new java home is used without restart of Visual Studio code
Additional Informations
cc @orpiske
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
Start by reproducing the change through Visual Studio Code settings.json using the Java Home setting and a different java.home value. Trace how the Java extension handles the setting change and its restart notification; done means the new Java home is used without restarting Visual Studio Code.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100