Plugin for Visual Studio Code, a text editor for Mac OS X, Windows, and Linux
-
If the
code
command is called without an argument, launch VS Code -
If
code
is passed a directory, cd to it and open it in VS Code -
If
code
is passed a file, open it in VS Code
NOTE: vscode
can be used as an alias in place of code