11. > code .
Command line on Windows
Open code for the current folder by typing code .
12. code () { VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $* ;}
Setting up Command line on Mac/OSX
Place in your ~/.bash_profile
Open Code for the current folder by typing code .
Commands are available at https://code.visualstudio.com/docs/setup
13. $ code .
Command line on Mac/OSX
Open code for the current folder by typing code .
14. $ code .
$ code index.html -r
Command line on Mac/OSX
Open code for the current folder by typing code .
-r option opens file in the last active instance
15. $ code .
$ code index.html -r
$ code src/another/app -n
Command line on Mac/OSX
Open code for the current folder by typing code .
-r option opens file in the last active instance
-n option opens file in a new instance