代码拉取完成,页面将自动刷新
{
"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"
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。