title: how to use environment variables in vscode settings json
body: <p>I want to be able to use linux environment variables in vscode workspace settings (specifically <code>$HOME</code>) so that I can specify paths that aren't specific to a user. In this case I am trying to set the <code>java.home</code> setting.</p>
  
  <p>I have tried using <code>${env:HOME}</code> but this doesn't seem to work. I suspect this is only for vscode tasks.</p>
  
  <pre><code>{
      "java.home": "${env:HOME}/.sdkman/candidates/java/8.0.222.hs-adpt/"
  }
  </code></pre>
  
  <p>Get the following error message at the moment:</p>
  
  <blockquote>
    <p>The java.home variable defined in VS Code settings points to a missing or inaccessible folder (${env:HOME}/.sdkman/candidates/java/8.0.222.hs-adpt/)</p>
  </blockquote>