Using variables in Visual Studio Code settings

Viewed 13

I am using a portable installation of Visual Studio Code and Java JDK. To be able to use the JDK I have to change a key in settings.json but, since plugging in a usb changes the drive's letter, path changes too. I'm thinking of using variables to get the exe path since the JDK is in the same folder.

What im looking for would look something like [pathToFolder]/JDK

0 Answers
Related