Skip to content

Suport environment variables in jdk.project.jdkhome settings #392

Open
@balthild

Description

@balthild

I use nix to manage dev environments, so there's no simple and predictable java home paths. The paths are subject to change each time I update the packages. Therefore, I wish to have a way setting the jdk path from a specific environment veriable.

There's a standard syntax in vscode to do this, i.e.

{
  "jdk.project.jdkhome": "${env:JAVA_HOME_PROJECT}"`
}

However, It is not substituted in config.json out of the box. Therefore, extensions need to do it by themselves, e.g. https://github.com/DominicVonk/vscode-variables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Settings/ConfigIf there are missing setting or configarationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions