Home > Development Tools > VSCode > How to run vscode using terminal

How to run vscode using terminal

angryTom
Release: 2020-02-10 17:00:42
Original
12336 people have browsed it

How to run vscode using terminal

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
Copy after login

b) Open the directory:

code .
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template