1 Star 0 Fork 0

lights li/vscodeext

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 1.99 KB
一键复制 编辑 原始数据 按行查看 历史
lights li 提交于 2022-05-10 19:14 +08:00 . add simpleview& webview
{
"name": "ttdialog",
"displayName": "ttdialog",
"description": "very simple plugin",
"version": "0.0.1",
"engines": {
"vscode": "^1.39.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:extension.helloWorld",
"onCommand:extension.ttShowWindow",
"onView:data1",
"onView:data2"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "extension.helloWorld",
"title": "Hello World"
},
{
"command": "extension.ttShowWindow",
"title": "Tt Show Window"
},
{
"command": "data1.refresh",
"title": "refresh"
},
{
"command": "data2.refresh",
"title": "refresh"
},
{
"command": "data.showme",
"title": "showme"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "tticon",
"icon": "media/dep.png",
"title": "tt icon"
}
]
},
"views": {
"tticon": [
{
"id": "data1",
"name": "data1"
},
{
"id": "data2",
"name": "data2"
}
]
},
"menus": {
"view/title": [
{
"command": "data1.refresh",
"when": "view == data1",
"group": "navigation"
},
{
"command": "data2.refresh",
"when": "view == data2"
}
],
"view/item/context":[
{
"command": "data.showme",
"when": "view == data2" ,
"group": "inline"
},
{
"command": "data.showme",
"when": "view == data1"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.1",
"@types/node": "^12.11.7",
"@types/vscode": "^1.39.0",
"eslint": "^6.8.0",
"@typescript-eslint/parser": "^2.18.0",
"@typescript-eslint/eslint-plugin": "^2.18.0",
"glob": "^7.1.6",
"mocha": "^7.0.1",
"typescript": "^3.7.5",
"vscode-test": "^1.3.0"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lightsever/vscodeext.git
git@gitee.com:lightsever/vscodeext.git
lightsever
vscodeext
vscodeext
master

搜索帮助