Follow Me

Configure Visual Studio Code to run from shell (Mac OSX).

By Stefan Feenstra   /     Jan 19, 2017  /     Visual Studio Code  /     

Tip: This tutorial enables you to open a directory in Visual Studio code from shell!

  1. Open Visual Studio Code on Mac
  2. Press key combination: shift + command + P
  3. Command palette opens
  4. Type in: shell command
  5. Click “Shell command: Install ‘code’ command in PATH”
  6. Shell command ‘code’ is now installed
  7. Open any directory in VS code with the shell command:
    code .
  8. Current directory is now opened in Visual Studio Code

Post a Comment

Your email address will not be published. Required fields are marked *

*