A complete and detailed tutorial on the development, debugging and publishing of Visual Studio Code plug-ins

This article mainly explains: the extension plug-in of Vscode, a complete development tutorial from environment installation to generating project files to debugging, deployment and release.
Date: May 10, 2023
vscode 1.78.1

1. Prepare node environment and install yo

Project initialization, first install yo, and then create code and plug-in projects through yo.

basic condition

You need to install node first, and the node environment has been installed correctly (including environment variables, npm), and npm is the latest version
Execute the command:npm install -g yo
insert image description here

install code

Note: It must be done through cmd, and an error will be prompted in vscode.
insert image description here

2. Project initialization

Step 1. Select language

insert image description here
Operation: press the up and down keys to select, and enter to confirm.

Step 2. Fill in the information of the basic plug-in

Guess you like

Origin blog.csdn.net/hj960511/article/details/130608745