'Multiple cwd paths in VSCode?

I'm using VSCode to work on projects both locally on my machine and also on remote servers.

Locally my cwd path needs to be /Users/{user}, on remote servers it needs to be /home/{different username}

Whenever I want to open a terminal in VSCode the cwd path needs to match the appropriate local or server version, so at the moment every time I switch I have to update the settings.

Is there a way I can set VSCode to try/store both variations?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source