1. Create the first vscode plug-in

1. Install Git and Node

2. Install Yo and generator-code, which is a code generator

npm install -g yo generator-code
Copy the code

3. Start the generator

yo code
Copy the code

4. The debugging

Open the project in vscode

4.2 F5 key debugging, will open a new vscode interface

4.3 CRTL + Shift +p Enter Hello world

Success !!!!

5. Package and publish

Code.visualstudio.com/api/working…

5.1 Application for a personal token

Azure.microsoft.com/zh-cn/servi…

Application documents: docs.azure.cn/zh-cn/datab… If there is a problem you may want to open it using a proxy

Note: When applying, Organization must select All Accessbile Organizations and scopes must select Full Access

5.2 Creating an Account

Marketplace.visualstudio.com/manage/crea…

5.3 Issuing Commands

 npm install -g vsce
 
 vsce login <publisher name>
 
 vsce publish
Copy the code

5.4 problem 1

Solution: Modify package.json

"publisher":"publisher name"
Copy the code

5.5 question 2

Solution: the README. Starting with HTTP code are not allowed to be contained in the md, see detailed rules code.visualstudio.com/api/working…

6. The release is successful

Can go here to find whether have this plug-in marketplace.visualstudio.com/search?targ…

You can also go to the vscode store

Once installed, you can use !!!!

At present, it is just the installation process, please look forward to the content…