主要参考官网:https://code.visualstudio.com/api/get-started/your-first-extension 其实也就三步 一.安装环境 npm install -g yo generator-code 二.运行生成器 yo code # ? What type of extension do you want to create? New Extension (TypeScript) # ? What's the name of your extensio…