-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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 variables no longer valid in workspace settings.json or tasks.json #71740
Comments
(Experimental duplicate detection) |
i should note that the above example works fine for me on 1.32.3 |
I can confirm the same experience after upgrading to 1.33.0 on Windows.
|
same here in tasks.json. On macOS. Edit: replacing ${env:HOME} with ${HOME} fixed my problem. It that the new way of doing it ? |
@sebirdman This issue is happening throughout, |
Experiencing the same issue here with
My current setup in c:\Users\Ricardo\AppData\Roaming\Code\User\settings.json is
It was working before I updated VSCode this morning. |
Same issue here: Version: 1.33.0 (user setup) |
I think what you see happening is ${HOME} being interpreted by your shell, not VSCode. For instance, on Windows I have WSL set as the shell for a project, and ${HOME} evaluates to /home/user, and ${LOCALAPPDATA} to nothing. I need to be able to evaluate ${env:LOCALAPPDATA}, but that is no longer possible. |
Any fix for windows? |
Same issue here on Windows. And I was doing a demo for a client (which failed as a result on this particular point). That was rather awkward. It would be great if the VS Code team could solve this. |
Looks like #72029 |
Steps to Reproduce:
echo $DATA
;/home/bird/deako/goat/xtensa-esp32-elf/bin
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: