'How to open a default workspace when launching Visual Studio Code?

Software : Visual Studio Code

OS : macOS 10.14

Version : 1.28.2 (1.28.2)

I have a folder that I work on every time with VSC, no other requirements. I want to open this folder as a folder/workspace by default on launch of VSC so that I don't have to browse through and open that workspace again. How can I change settings/ write a script so that when I launch VSC, that workspace opens up automatically.



Sources

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

Source: Stack Overflow

Solution Source