redhat-developer / redhat-developer/vscode-java
Use the path of Java Development Kit specified in environment variables for terminals
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
Hi,
Currently, vscode-java extension get the path to the development kit in the following order
1) java.home setting in VS Code settings (workspace then user settings)
2) JDK_HOME environment variable
3) JAVA_HOME environment variable
4) Current system path
Both 2) to 4) are something we configure via our OS's environment variable. Can I suggest adding one more?
5) JDK_HOME, JAVA_HOME, Current system path
(specified in the environment variables for the terminals in VS Code settings (workspace then user settings))
In that case, we will now get to enjoy the variable expansion when specifying the path, and no more hardcoding the path.
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
No file or test is named in the issue. Start by tracing how the extension resolves the JDK path and reads VS Code terminal environment settings; done means workspace and user terminal variables are considered after the existing sources, with variable expansion supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100