- VSCode Version: 1.41.1
- OS Version: Windows 10
Steps to Reproduce:
- Open terminal in vs code with ctrl+~
- Attempt to set an environment variable with setx test 'teststring'
- Above command returns "Success: Specified variable was saved"
- Attempt to check environment variable with get-childitem env:
- The variable does not appear in the list of variables, and does not show when you try calling with echo %test%
Maybe I'm just doing something wrong?
Does this issue occur when all extensions are disabled?: Yes/No
Edit: This issue can be closed, I didn't realize the default terminal VSCode was using is Powershell, and powershell env variables are set with $Env and not setx.
Steps to Reproduce:
Maybe I'm just doing something wrong?
Does this issue occur when all extensions are disabled?: Yes/No
Edit: This issue can be closed, I didn't realize the default terminal VSCode was using is Powershell, and powershell env variables are set with $Env and not setx.