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
If Terminals would support variables in the cwd option, it would be possible to achieve my goal by adding "cwd": "${workspaceFolder:proj2}" to the terminal's configuration
Also, I want to inherit the PATH env variable I defined in the global env configuration and extend it in the terminal's configuration. For example:
{"env": {// Global environment variables"PATH": "${workspaceFolder:proj2}/scripts;${env:PATH};"},"terminals": [{"env": {"PATH": "${global:PATH};/more/path"}}]}
The text was updated successfully, but these errors were encountered:
I want to start a command in a specific workspace folder.
VSCode configuration files support variables and, for example, you can start a terminal in a workspace folder called "proj2" like so:
If Terminals would support variables in the
cwd
option, it would be possible to achieve my goal by adding"cwd": "${workspaceFolder:proj2}"
to the terminal's configurationAlso, I want to inherit the
PATH
env variable I defined in the globalenv
configuration and extend it in the terminal's configuration. For example:The text was updated successfully, but these errors were encountered: