-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
269 lines (269 loc) · 7.41 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
{
"name": "vscode-projects-plus-plus",
"displayName": "Projects++",
"description": "Projects++ is a VSCode extension to create and manage your projects.",
"version": "0.0.5",
"publisher": "CanbinHuang",
"license": "SEE LICENSE IN LICENSE",
"repository": {
"type": "git",
"url": "https://github.com/OnewayLab/vscode-projects-plus-plus"
},
"engines": {
"vscode": "^1.73.0"
},
"categories": [
"Other"
],
"keywords": [
"project",
"workspace",
"manager",
"switch",
"folder",
"git"
],
"extensionKind": [
"workspace"
],
"icon": "images/icon.png",
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"views": {
"explorer": [
{
"id": "projects",
"name": "Projects"
}
]
},
"viewsWelcome": [
{
"view": "projects",
"contents": "Projects++ is a simple extension that allows you to manage your projects in a specific folder.\nPlease save the workspace as a file and then set the root path to retrieve projects.\n[Set Global Root Path](command:projects-plus-plus.setGlobalRootPath)\n[Set Workspace Root Path](command:projects-plus-plus.setWorkspaceRootPath)"
}
],
"configuration": {
"title": "Projects++",
"properties": {
"projects-plus-plus.rootPath": {
"type": "string",
"description": "Root Path to Retrieve Projects from"
},
"projects-plus-plus.projects": {
"type": "array",
"description": "Projects",
"items": {
"type": "string",
"description": "Project Path"
}
},
"projects-plus-plus.templateFolders": {
"type": "array",
"description": "Folders that contain templates",
"items": {
"type": "string",
"description": "Template Folder Path"
}
},
"projects-plus-plus.whichTerminal": {
"type": "string",
"enum": ["always ask", "always new", "always current"],
"enumDescriptions": [
"Always ask me",
"Always open the folder in a new terminal",
"Always open the folder in the current terminal"
],
"default": "always ask",
"description": "Which terminal to open the folder in"
}
}
},
"commands": [
{
"command": "projects-plus-plus.setGlobalRootPath",
"title": "Projects: Set global root path"
},
{
"command": "projects-plus-plus.setWorkspaceRootPath",
"title": "Projects: Set workspace root path"
},
{
"command": "projects-plus-plus.refreshProjects",
"title": "Projects: Refresh",
"icon": "$(refresh)"
},
{
"command": "projects-plus-plus.openInWorkspace",
"title": "Open in workspace",
"icon": "$(arrow-up)"
},
{
"command": "projects-plus-plus.openInNewWindow",
"title": "Open in new window",
"icon": "$(empty-window)"
},
{
"command": "projects-plus-plus.openInTerminal",
"title": "Open in terminal",
"icon": "$(terminal)"
},
{
"command": "projects-plus-plus.openInNewTerminal",
"title": "Open in new terminal",
"icon": "$(terminal)"
},
{
"command": "projects-plus-plus.openInCurrentTerminal",
"title": "Open in current terminal",
"icon": "$(terminal)"
},
{
"command": "projects-plus-plus.removeFromWorkspace",
"title": "Remove from workspace",
"icon": "$(x)"
},
{
"command": "projects-plus-plus.create",
"title": "Create",
"icon": "$(plus)"
},
{
"command": "projects-plus-plus.delete",
"title": "Delete"
},
{
"command": "projects-plus-plus.markAsProject",
"title": "Mark as project",
"icon": "$(bookmark)"
},
{
"command": "projects-plus-plus.markAsFolder",
"title": "Mark as folder"
}
],
"menus": {
"commandPalette": [
{
"command": "projects-plus-plus.openInWorkspace",
"when": "false"
},
{
"command": "projects-plus-plus.openInNewWindow",
"when": "false"
},
{
"command": "projects-plus-plus.openInTerminal",
"when": "false"
},
{
"command": "projects-plus-plus.openInNewTerminal",
"when": "false"
},
{
"command": "projects-plus-plus.openInCurrentTerminal",
"when": "false"
},
{
"command": "projects-plus-plus.removeFromWorkspace",
"when": "false"
},
{
"command": "projects-plus-plus.create",
"when": "false"
},
{
"command": "projects-plus-plus.delete",
"when": "false"
},
{
"command": "projects-plus-plus.markAsProject",
"when": "false"
},
{
"command": "projects-plus-plus.markAsFolder",
"when": "false"
}
],
"view/title": [
{
"command": "projects-plus-plus.refreshProjects",
"when": "view == projects",
"group": "navigation"
},
{
"command": "projects-plus-plus.removeFromWorkspace",
"when": "view == workbench.explorer.fileView && explorerResourceIsRoot",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "projects-plus-plus.openInWorkspace",
"when": "view == projects",
"group": "inline@5"
},
{
"command": "projects-plus-plus.openInNewWindow",
"when": "view == projects",
"group": "inline@4"
},
{
"command": "projects-plus-plus.create",
"when": "view == projects && viewItem == folder",
"group": "inline@1"
},
{
"command": "projects-plus-plus.markAsProject",
"when": "view == projects && viewItem == folder",
"group": "inline@2"
},
{
"command": "projects-plus-plus.openInTerminal",
"when": "view == projects",
"group": "inline@3"
},
{
"command": "projects-plus-plus.openInNewTerminal",
"when": "view == projects"
},
{
"command": "projects-plus-plus.openInCurrentTerminal",
"when": "view == projects"
},
{
"command": "projects-plus-plus.delete",
"when": "view == projects"
},
{
"command": "projects-plus-plus.markAsFolder",
"when": "view == projects && viewItem == project"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.73.0",
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.0",
"@types/node": "16.x",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"eslint": "^8.24.0",
"glob": "^8.0.3",
"mocha": "^10.0.0",
"typescript": "^4.8.4",
"@vscode/test-electron": "^2.1.5"
}
}