Skip to content

support relative paths when configuring jdk #4318

@DetachHead

Description

@DetachHead

my project's jdk is located in a directory relative to the project root, but specifying a relative path does not seem to be supported:

{
    "java.jdt.ls.java.home": "./jdk"
    // also doesn't work:
    // "java.jdt.ls.java.home": "${workspaceFolder}/jdk"
}

it would be nice if i could do this because it would allow me to commit this in my workspace settings.json so that others working on my project don't have to configure the path to their jdk manually, since it's located in the same spot for everybody

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions