apache / apache/netbeans

[VSCode extension] Allow setting 'netbeans.jdkhome' on a per-workspace basis.

Open
#6,111 1 comment 0 reactions 0 assignees View on GitHub
kind:feature needs:triage VSCode Extension
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Description

Allow setting `netbeans.jdkhome` on a per-workspace basis in the VSCode extension.

### Use case/motivation

I use different jdks for different work spaces. However, currently it is only possible to set the used jdk globally, which means I have to change the setting every time I switch to working on a project which uses a different jdk.

When I try to set it in the settings of a workspace I get the message: "This setting can only be applied in user settings..." (see image)

![image](https://github.com/apache/netbeans/assets/5962029/1497870f-728f-49e2-b022-01313f32bdad)

### Related issues

_No response_

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

Start by locating the VSCode extension's registration and handling of the `netbeans.jdkhome` setting. Verify how user and workspace settings are distinguished, then confirm that a workspace value can override the global value and selects the JDK used by the extension.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, vscode
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.