【VS code】插件 package.json
1.activationevents
- onLanguage:${language}
- onCommand:${command} //一般是这个
- onDebug
- workspaceContains:${toplevelfilename}
- onFileSystem:${scheme}
- onView:${viewId}
- onUri
* //一启动就激活
2.contributes
configuration:设置commands:命令menus:菜单keybindings:快捷键绑定languages:新语言支持debuggers:调试breakpoints:断点grammarsthemes:主题snippets:代码片段jsonValidation:自定义JSON校验views:左侧侧边栏视图viewsContainers:自定义activitybarproblemMatchersproblemPatternstaskDefinitionscolors
3.扩展清单|Visual Studio Code Extension API

浙公网安备 33010602011771号