插件初始化
- 安装Yeoman和VS Code脚手架
npm install -g yo generator-code
- 生成项目模版
yo code
插件开发
https://marketplace.visualstudio.com/items?itemName=hubcarl.vscode-easy-plugin#overview
插件发布
- 注册账号: https://visualstudio.microsoft.com/zh-hans/team-services/
- 创建 Personal Access Token:https://[username].visualstudio.com/_usersSettings/tokens 注意权限设置
- npm install -g vsce
- vsce create-publisher
- vsce publish