About Opening a Directory in Visual Studio Code from Command Line
Use this command to open a directory in Visual Studio Code:
$ code .
or this one for opening it in Visual Studio Code - Insiders:
$ code-insiders .
However, first, you have to install the shell command:
- Open Visual Studio Code or Visual Studio Code - Insiders.
- Open the Command Palette by pressing
Cmd + Shift + P
on macOS orCtrl + Shift + P
elsewhere. - Type "Shell Command: Install 'code' command in PATH" or "Shell Command: Install 'code-insiders' command in PATH" and select the option that appears.
- Restart the Terminal.
Tips and Tricks Development Developer Experience Visual Studio Code
Also by me
Django Paddle Subscriptions app
For Django-based SaaS projects.
Django App for You
Django GDPR Cookie Consent app
For Django websites that use cookies.
Django App for You