👩‍🏫 Courses

VS Code

How to open files in VS Code Editor from terminal/command line

  1. Launch VS Code.
  2. Command + Shift + P to open the Command Palette.
  3. Type shell command in command palette, a drop down list will display.
  4. From the displayed list, find the Shell Command: Install 'code' command in PATH and select to install it.
  5. Restart your terminal.