-
Notifications
You must be signed in to change notification settings - Fork 38.5k
Closed
Labels
*duplicateIssue identified as a duplicate of another issue(s)Issue identified as a duplicate of another issue(s)configVS Code configuration, settingsVS Code configuration, settings
Description
- VSCode Version: 1.20
- OS Version: MacOS 10.13
Would it be possible to have variable support in the settings.json file.
An example of when this could be used:
A popular Java extension is called Lombok. To use Lombok with the Red Hat Java Extension, you have to change some arguments for language server. 2 of those arguments are full paths to the lombok.jar that Maven (Java build system). I work on a Linux machine and a MacOS machine. Maven stores downloaded JARs to ~/.m2. On Linux ~ expands to /home/username, while on MacOS it expands to /Users/user.name. Now if I could use an environment variable in the settings.json file, I could keep the setting platform agnostic in the form of ${env:HOME}/.m2/path/to/lombok.jar
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
*duplicateIssue identified as a duplicate of another issue(s)Issue identified as a duplicate of another issue(s)configVS Code configuration, settingsVS Code configuration, settings