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",
|
2018-10-15 11:52:55 -07:00
|
|
|
"publisher": "vscode-samples",
|
2018-10-29 19:32:04 +01:00
|
|
|
"enableProposedApi": true,
|
2016-12-30 11:01:43 +01:00
|
|
|
"engines": {
|
2018-07-24 15:04:52 +02:00
|
|
|
"vscode": "^1.25.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",
|
2018-07-24 17:13:20 +02:00
|
|
|
"onView:fileExplorer",
|
2018-10-29 19:09:34 +01:00
|
|
|
"onView:testView",
|
2018-01-10 10:44:02 +01:00
|
|
|
"onLanguage:json",
|
2018-10-29 19:09:34 +01:00
|
|
|
"onLanguage:jsonc",
|
|
|
|
|
"onCommand:sample.reveal"
|
2016-12-30 11:01:43 +01:00
|
|
|
],
|
2018-12-17 10:21:13 -08:00
|
|
|
"main": "./out/extension.js",
|
2016-12-30 11:01:43 +01:00
|
|
|
"contributes": {
|
2018-04-27 16:09:38 -04:00
|
|
|
"viewsContainers": {
|
|
|
|
|
"activitybar": [
|
|
|
|
|
{
|
2018-05-02 09:37:38 -04:00
|
|
|
"id": "package-explorer",
|
|
|
|
|
"title": "Package Explorer",
|
2018-04-27 16:09:38 -04:00
|
|
|
"icon": "media/dep.svg"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
2017-05-21 18:18:07 +02:00
|
|
|
"views": {
|
2018-05-02 09:37:38 -04:00
|
|
|
"package-explorer": [
|
2017-05-21 18:18:07 +02:00
|
|
|
{
|
|
|
|
|
"id": "nodeDependencies",
|
|
|
|
|
"name": "Node Dependencies"
|
2018-05-09 15:04:51 +02:00
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"explorer": [
|
2017-05-21 18:18:07 +02:00
|
|
|
{
|
|
|
|
|
"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"
|
2018-07-24 15:04:52 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "fileExplorer",
|
|
|
|
|
"name": "File Explorer"
|
2018-10-29 19:09:34 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "testView",
|
|
|
|
|
"name": "Test View"
|
2017-05-21 18:18:07 +02:00
|
|
|
}
|
|
|
|
|
]
|
2017-05-29 20:29:00 +02:00
|
|
|
},
|
|
|
|
|
"commands": [
|
2018-11-19 12:24:41 +01:00
|
|
|
{
|
|
|
|
|
"command": "nodeDependencies.refreshEntry",
|
|
|
|
|
"title": "Refresh",
|
|
|
|
|
"icon": {
|
|
|
|
|
"light": "resources/light/refresh.svg",
|
|
|
|
|
"dark": "resources/dark/refresh.svg"
|
|
|
|
|
}
|
|
|
|
|
},
|
2017-05-29 20:29:00 +02:00
|
|
|
{
|
2017-06-02 16:37:14 +02:00
|
|
|
"command": "nodeDependencies.addEntry",
|
2017-05-29 20:29:00 +02:00
|
|
|
"title": "Add"
|
|
|
|
|
},
|
2018-11-19 12:17:11 +01:00
|
|
|
{
|
|
|
|
|
"command": "nodeDependencies.editEntry",
|
|
|
|
|
"title": "Edit",
|
|
|
|
|
"icon": {
|
2018-11-19 12:24:41 +01:00
|
|
|
"light": "resources/light/edit.svg",
|
2018-11-19 12:17:11 +01:00
|
|
|
"dark": "resources/dark/edit.svg"
|
|
|
|
|
}
|
|
|
|
|
},
|
2017-05-29 20:29:00 +02:00
|
|
|
{
|
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
|
|
|
},
|
2018-02-09 18:54:42 +01:00
|
|
|
{
|
|
|
|
|
"command": "ftpExplorer.refresh",
|
|
|
|
|
"title": "Refresh",
|
|
|
|
|
"icon": {
|
|
|
|
|
"light": "resources/light/refresh.svg",
|
|
|
|
|
"dark": "resources/dark/refresh.svg"
|
|
|
|
|
}
|
|
|
|
|
},
|
2017-05-29 20:45:52 +02:00
|
|
|
{
|
2018-02-23 18:33:03 +01:00
|
|
|
"command": "ftpExplorer.openFtpResource",
|
2017-05-29 20:45:52 +02:00
|
|
|
"title": "Open FTP Resource"
|
2017-12-03 19:10:18 +01:00
|
|
|
},
|
2018-02-23 18:33:03 +01:00
|
|
|
{
|
|
|
|
|
"command": "ftpExplorer.revealResource",
|
|
|
|
|
"title": "Reveal in FTP View"
|
|
|
|
|
},
|
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"
|
2018-07-24 15:04:52 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"command": "fileExplorer.refreshFile",
|
|
|
|
|
"title": "Refresh",
|
|
|
|
|
"icon": {
|
|
|
|
|
"light": "resources/light/refresh.svg",
|
|
|
|
|
"dark": "resources/dark/refresh.svg"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"command": "fileExplorer.openFile",
|
|
|
|
|
"title": "Open File"
|
2018-10-29 19:09:34 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"command": "testView.reveal",
|
2018-11-19 12:17:11 +01:00
|
|
|
"title": "Test View: Reveal"
|
2017-05-29 20:29:00 +02:00
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"menus": {
|
2018-02-23 18:33:03 +01:00
|
|
|
"commandPalette": [
|
|
|
|
|
{
|
|
|
|
|
"command": "ftpExplorer.revealResource"
|
|
|
|
|
}
|
|
|
|
|
],
|
2017-05-29 20:29:00 +02:00
|
|
|
"view/title": [
|
|
|
|
|
{
|
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"
|
2018-02-09 18:54:42 +01:00
|
|
|
},
|
2018-11-19 12:24:41 +01:00
|
|
|
{
|
|
|
|
|
"command": "jsonOutline.refresh",
|
|
|
|
|
"when": "view == jsonOutline",
|
|
|
|
|
"group": "navigation"
|
|
|
|
|
},
|
2018-02-09 18:54:42 +01:00
|
|
|
{
|
|
|
|
|
"command": "ftpExplorer.refresh",
|
|
|
|
|
"when": "view == ftpExplorer",
|
|
|
|
|
"group": "navigation"
|
2017-05-29 20:29:00 +02:00
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"view/item/context": [
|
2018-11-19 12:17:11 +01:00
|
|
|
{
|
|
|
|
|
"command": "nodeDependencies.editEntry",
|
|
|
|
|
"when": "view == nodeDependencies && viewItem == dependency",
|
|
|
|
|
"group": "inline"
|
|
|
|
|
},
|
2018-11-19 12:24:41 +01:00
|
|
|
{
|
2018-11-21 21:05:05 +00:00
|
|
|
"command": "nodeDependencies.deleteEntry",
|
2018-11-19 12:24:56 +01:00
|
|
|
"when": "view == nodeDependencies && viewItem == dependency"
|
2018-11-19 12:24:41 +01:00
|
|
|
},
|
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"
|
2018-07-24 15:04:52 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"command": "fileExplorer.refreshFile",
|
|
|
|
|
"when": "view == fileExplorer && viewItem == file",
|
|
|
|
|
"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": {
|
2018-10-26 11:53:42 +02:00
|
|
|
"vscode:prepublish": "npm run compile",
|
|
|
|
|
"compile": "tsc -p ./",
|
2018-05-31 16:19:18 +02:00
|
|
|
"watch": "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": {
|
2018-07-24 15:04:52 +02:00
|
|
|
"@types/mkdirp": "^0.5.2",
|
2018-11-08 10:39:34 -08:00
|
|
|
"@types/node": "*",
|
|
|
|
|
"@types/rimraf": "^2.0.2",
|
|
|
|
|
"tslint": "^5.11.0",
|
|
|
|
|
"typescript": "^2.1.4",
|
2018-11-27 16:56:50 +01:00
|
|
|
"vscode": "^1.1.22"
|
2017-05-21 18:18:07 +02:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2017-05-29 20:45:52 +02:00
|
|
|
"jsonc-parser": "^0.4.2",
|
2018-02-23 18:33:03 +01:00
|
|
|
"ftp": "^0.3.10",
|
2018-07-24 15:04:52 +02:00
|
|
|
"mkdirp": "^0.5.1",
|
|
|
|
|
"rimraf": "^2.6.2"
|
2016-12-30 11:01:43 +01:00
|
|
|
}
|
2018-10-08 15:37:24 -07:00
|
|
|
}
|