redhat-developer / redhat-developer/vscode-java

Avoid need of restart of Visual Studio Code when updating java.home

Open
#1,850 5 comments 1 reaction 0 assignees View on GitHub

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
  1. File -> Preferences -> Settings -> Java -> Home -> Edit in settings.json
    2.provide a different value to java.home
  2. save
Current Result

a notification is provided asking to restart

Screenshot from 2021-03-26 11-58-41

Expected Result

new java home is used without restart of Visual Studio code

Additional Informations

cc @orpiske

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.