You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The setting "deno.path" doesn't seem to resolve environment variables.
In my settings.json I want to use an environment variable to resolve to deno.
Basically what I would like it to work with: "deno.path": "${env:USERPROFILE}\\Applications\\deno\\deno.exe"
or "deno.path": "%USERPROFILE%\\Applications\\deno\\deno.exe"
But it does work with an absolute path: "deno.path": "C:\\Users\\<username>\\Applications\\deno\\deno.exe"
I tried this with the global settings.json and a workspace file.
Expected behavior
The environment variable should be resolved and enable the extension to find deno.
Currently vscode does not provide a service that does this (see: microsoft/vscode#2809) though I would really want something that is provided to extensions that would make this automatically work instead of trying to build it ourselves.
The setting "deno.path" doesn't seem to resolve environment variables.
In my settings.json I want to use an environment variable to resolve to deno.
Basically what I would like it to work with:
"deno.path": "${env:USERPROFILE}\\Applications\\deno\\deno.exe"
or
"deno.path": "%USERPROFILE%\\Applications\\deno\\deno.exe"
But it does work with an absolute path:
"deno.path": "C:\\Users\\<username>\\Applications\\deno\\deno.exe"
I tried this with the global settings.json and a workspace file.
Expected behavior
The environment variable should be resolved and enable the extension to find deno.
Screenshots
Versions
vscode: 1.54.3 (user setup)
deno: 1.8.2
extension: 3.2.0
os: Win10 build 19042
The text was updated successfully, but these errors were encountered: