How to run vscode using the terminal
1. First open the vscode software.
2. Press and hold shift command P at the same time to open the command panel.
3. Find Install ‘code’ command in PATH and execute it.
Usage:
Open the terminal on your computer and enter code to open the vscode software.
a) Open a single file:
For example, I want to open nginx.conf.
code /usr/local/etc/nginx/nginx.conf
b) Open the directory:
code .
Recommended related article tutorials: vscode tutorial
The above is the detailed content of How to run vscode using terminal. For more information, please follow other related articles on the PHP Chinese website!