Visual Studio Code installation
Visual Studio Code is a brand new cross-platform IDE from Microsoft.
Install from https://code.visualstudio.com
Click on the Download for Mac button:
Then follow installation steps from : Running VS Code on Mac
How to start Visual Studio Code from Terminal window?
Visual Studio Code projects are folder based. This means that Visual Studio Code must run in the context of your project folder.
One way to achieve this is to open a Terminal window, then cd to your project folder and then type
code to start Visual Studio Code in the context of the current directory.
For this to work a symbolic link file named
code must be created in the /usr/local/bin folder:
Start Visual Studio Code from the Applications folder;
Open the Command Palette(⇧⌘P) and type
shell commandto find the Shell Command: Install 'code' command in PATH command.
After executing the command, restart the terminal for the new
$PATHvalue to take effect. You'll be able to simply type 'code .' in any folder to start editing files in that folder.