New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
environment variable substitution not working in tasks.json #28365
Comments
I checked and other variable substitutions like |
I'm seeing the same thing with
The same task works fine if I substitute |
Same problem in launch.json |
Not sure how to link issues but this is a dupe: #28533 |
if I may add, this is a daily nuisance. IMHO, worth a recovery release. |
This happened as a side effect of fixing So the new syntax is Sorry for the breakage. |
The docs should be updated to reflect that update. |
Thanks! |
@gregvanl can you please update the doc for 1.13. This slipped through my cracks. The debug documentation might need some updating as well. |
Documentation fixed with microsoft/vscode-docs@6c11a91 |
We used to have ${env.windir} but then VSCode broke us so we switched back to C:\Windows. It turns out that the VSCode folks changed the syntax to ${env:windir} - replacing the dot with a colon. Here's the VSCode issue describing this: microsoft/vscode#28365 (comment)
We used to have ${env.windir} but then VSCode broke us so we switched back to C:\Windows. It turns out that the VSCode folks changed the syntax to ${env:windir} - replacing the dot with a colon. Here's the VSCode issue describing this: microsoft/vscode#28365 (comment)
Steps to Reproduce:
"command": "${env.GOPATH}/bin/gnatsd",
Results:
Specifying a complete path to the executable works, but any path that relies on
${env.*}
fails.The text was updated successfully, but these errors were encountered: