2016-11-16 09:33:20 -08:00
|
|
|
{
|
2017-06-02 14:29:35 +02:00
|
|
|
"name": "custom-view-samples",
|
|
|
|
|
"displayName": "Custom view Samples",
|
|
|
|
|
"description": "Samples for VSCode's view API",
|
2016-12-30 11:01:43 +01:00
|
|
|
"version": "0.0.1",
|
2017-06-02 14:29:35 +02:00
|
|
|
"publisher": "ms-vscode",
|
2016-12-30 11:01:43 +01:00
|
|
|
"engines": {
|
2017-06-02 10:46:57 +02:00
|
|
|
"vscode": "^1.13.0"
|
2016-12-30 11:01:43 +01:00
|
|
|
},
|
|
|
|
|
"categories": [
|
|
|
|
|
"Other"
|
|
|
|
|
],
|
|
|
|
|
"activationEvents": [
|
2017-05-21 18:18:07 +02:00
|
|
|
"onView:nodeDependencies",
|
2017-06-26 16:03:26 +02:00
|
|
|
"onView:ftpExplorer",
|
2018-01-10 10:44:02 +01:00
|
|
|
"onView:jsonOutline",
|
|
|
|
|
"onLanguage:json",
|
|
|
|
|
"onLanguage:jsonc"
|
2016-12-30 11:01:43 +01:00
|
|
|
],
|
|
|
|
|
"main": "./out/src/extension",
|
|
|
|
|
"icon": "media/dep.png",
|
|
|
|
|
"contributes": {
|
2017-05-21 18:18:07 +02:00
|
|
|
"views": {
|
|
|
|
|
"explorer": [
|
|
|
|
|
{
|
|
|
|
|
"id": "nodeDependencies",
|
|
|
|
|
"name": "Node Dependencies"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "jsonOutline",
|
2017-06-26 16:03:26 +02:00
|
|
|
"name": "Json Outline",
|
2018-01-10 10:44:02 +01:00
|
|
|
"when": "jsonOutlineEnabled"
|
2017-05-29 20:45:52 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "ftpExplorer",
|
|
|
|
|
"name": "FTP Explorer"
|
2017-05-21 18:18:07 +02:00
|
|
|
}
|
|
|
|
|
]
|
2017-05-29 20:29:00 +02:00
|
|
|
},
|
|
|
|
|
"commands": [
|
|
|
|
|
{
|
2017-06-02 16:37:14 +02:00
|
|
|
"command": "nodeDependencies.addEntry",
|
2017-05-29 20:29:00 +02:00
|
|
|
"title": "Add"
|
|
|
|
|
},
|
|
|
|
|
{
|
2017-06-02 16:37:14 +02:00
|
|
|
"command": "nodeDependencies.refreshEntry",
|
2017-05-29 20:29:00 +02:00
|
|
|
"title": "Refresh",
|
|
|
|
|
"icon": {
|
|
|
|
|
"light": "resources/light/refresh.svg",
|
|
|
|
|
"dark": "resources/dark/refresh.svg"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
2017-06-02 16:37:14 +02:00
|
|
|
"command": "nodeDependencies.deleteEntry",
|
2017-05-29 20:29:00 +02:00
|
|
|
"title": "Delete"
|
2017-05-29 20:45:52 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"command": "openFtpResource",
|
|
|
|
|
"title": "Open FTP Resource"
|
2017-12-03 19:10:18 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"command": "jsonOutline.refresh",
|
|
|
|
|
"title": "Refresh",
|
|
|
|
|
"icon": {
|
|
|
|
|
"light": "resources/light/refresh.svg",
|
|
|
|
|
"dark": "resources/dark/refresh.svg"
|
|
|
|
|
}
|
2017-12-03 19:46:09 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"command": "jsonOutline.refreshNode",
|
2018-01-15 18:59:41 +01:00
|
|
|
"title": "Refresh",
|
|
|
|
|
"icon": {
|
|
|
|
|
"light": "resources/light/refresh.svg",
|
|
|
|
|
"dark": "resources/dark/refresh.svg"
|
|
|
|
|
}
|
2017-12-03 19:46:09 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"command": "jsonOutline.renameNode",
|
|
|
|
|
"title": "Rename"
|
2017-05-29 20:29:00 +02:00
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"menus": {
|
|
|
|
|
"view/title": [
|
2017-12-03 19:10:18 +01:00
|
|
|
{
|
|
|
|
|
"command": "jsonOutline.refresh",
|
|
|
|
|
"when": "view == jsonOutline",
|
|
|
|
|
"group": "navigation"
|
|
|
|
|
},
|
2017-05-29 20:29:00 +02:00
|
|
|
{
|
2017-06-02 16:37:14 +02:00
|
|
|
"command": "nodeDependencies.refreshEntry",
|
|
|
|
|
"when": "view == nodeDependencies",
|
2017-05-29 20:29:00 +02:00
|
|
|
"group": "navigation"
|
|
|
|
|
},
|
|
|
|
|
{
|
2017-06-02 16:37:14 +02:00
|
|
|
"command": "nodeDependencies.addEntry",
|
|
|
|
|
"when": "view == nodeDependencies"
|
2017-05-29 20:29:00 +02:00
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"view/item/context": [
|
|
|
|
|
{
|
2017-06-02 16:37:14 +02:00
|
|
|
"command": "nodeDependencies.deleteEntry",
|
|
|
|
|
"when": "view == nodeDependencies && viewItem == dependency"
|
2017-12-03 19:46:09 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"command": "jsonOutline.renameNode",
|
|
|
|
|
"when": "view == jsonOutline"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"command": "jsonOutline.refreshNode",
|
2018-01-15 18:59:41 +01:00
|
|
|
"when": "view == jsonOutline",
|
|
|
|
|
"group": "inline"
|
2017-05-29 20:29:00 +02:00
|
|
|
}
|
|
|
|
|
]
|
2017-12-03 19:46:09 +01:00
|
|
|
},
|
|
|
|
|
"configuration": [
|
|
|
|
|
{
|
|
|
|
|
"title": "JSON Outline",
|
|
|
|
|
"properties": {
|
|
|
|
|
"jsonOutline.autorefresh": {
|
|
|
|
|
"type": "boolean",
|
2017-12-03 21:19:06 +01:00
|
|
|
"default": false
|
2017-12-03 19:46:09 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
2016-12-30 11:01:43 +01:00
|
|
|
},
|
|
|
|
|
"scripts": {
|
|
|
|
|
"vscode:prepublish": "tsc -p ./",
|
|
|
|
|
"compile": "tsc -watch -p ./",
|
2016-12-30 18:35:00 +01:00
|
|
|
"postinstall": "node ./node_modules/vscode/bin/install"
|
2016-12-30 11:01:43 +01:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2016-12-30 11:17:41 +01:00
|
|
|
"typescript": "^2.1.4",
|
2016-12-30 11:01:43 +01:00
|
|
|
"vscode": "^1.0.0",
|
|
|
|
|
"@types/node": "*"
|
2017-05-21 18:18:07 +02:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2017-05-29 20:45:52 +02:00
|
|
|
"jsonc-parser": "^0.4.2",
|
|
|
|
|
"ftp": "^0.3.10"
|
2016-12-30 11:01:43 +01:00
|
|
|
}
|
2017-05-21 18:18:07 +02:00
|
|
|
}
|