|
46 | 46 | "onCommand:aws.viewLogs",
|
47 | 47 | "onCommand:aws.quickStart",
|
48 | 48 | "onCommand:aws.help",
|
49 |
| - "onCommand:aws.github" |
| 49 | + "onCommand:aws.github", |
| 50 | + "onView:aws.cdk.explorer" |
50 | 51 | ],
|
51 | 52 | "main": "./out/src/extension",
|
52 | 53 | "contributes": {
|
|
79 | 80 | "default": 30000,
|
80 | 81 | "markdownDescription": "%AWS.configuration.description.samcli.debug.attach.timeout%"
|
81 | 82 | },
|
| 83 | + "aws.cdk.explorer.enabled": { |
| 84 | + "type": "boolean", |
| 85 | + "default": true, |
| 86 | + "description": "%AWS.configuration.description.cdk.explorer.enabled%" |
| 87 | + }, |
82 | 88 | "aws.logLevel": {
|
83 | 89 | "type": "string",
|
84 | 90 | "default": "info",
|
|
126 | 132 | "id": "aws.explorer",
|
127 | 133 | "name": "%AWS.lambda.explorerTitle%"
|
128 | 134 | }
|
| 135 | + ], |
| 136 | + "explorer": [ |
| 137 | + { |
| 138 | + "id": "aws.cdk.explorer", |
| 139 | + "name": "%AWS.cdk.explorerTitle%", |
| 140 | + "when": "config.aws.cdk.explorer.enabled" |
| 141 | + } |
129 | 142 | ]
|
130 | 143 | },
|
131 | 144 | "menus": {
|
|
201 | 214 | "command": "aws.reportIssue",
|
202 | 215 | "when": "view == aws.explorer",
|
203 | 216 | "group": "z_externalLinks@3"
|
| 217 | + }, |
| 218 | + { |
| 219 | + "command": "aws.refreshCdkExplorer", |
| 220 | + "when": "view == aws.cdk.explorer", |
| 221 | + "group": "navigation@5" |
| 222 | + }, |
| 223 | + { |
| 224 | + "command": "aws.cdk.help", |
| 225 | + "when": "view == aws.cdk.explorer", |
| 226 | + "group": "z_externalLinks@2" |
| 227 | + }, |
| 228 | + { |
| 229 | + "command": "aws.cdk.provideFeedback", |
| 230 | + "when": "view == aws.cdk.explorer", |
| 231 | + "group": "z_externalLinks@3" |
204 | 232 | }
|
205 | 233 | ],
|
206 | 234 | "view/item/context": [
|
|
257 | 285 | "title": "%AWS.command.reportIssue%",
|
258 | 286 | "category": "AWS"
|
259 | 287 | },
|
| 288 | + { |
| 289 | + "command": "aws.cdk.provideFeedback", |
| 290 | + "title": "%AWS.command.cdk.provideFeedback%", |
| 291 | + "category": "AWS" |
| 292 | + }, |
| 293 | + { |
| 294 | + "command": "aws.cdk.help", |
| 295 | + "title": "%AWS.command.cdk.help%", |
| 296 | + "category": "AWS" |
| 297 | + }, |
260 | 298 | {
|
261 | 299 | "command": "aws.showRegion",
|
262 | 300 | "title": "%AWS.command.showRegion%",
|
|
287 | 325 | "title": "%AWS.command.refreshAwsExplorer%",
|
288 | 326 | "category": "AWS",
|
289 | 327 | "icon": {
|
290 |
| - "dark": "third-party/resources/from-vscode/dark/refresh.svg", |
291 |
| - "light": "third-party/resources/from-vscode/light/refresh.svg" |
| 328 | + "dark": "third-party/resources/from-vscode-icons/dark/refresh.svg", |
| 329 | + "light": "third-party/resources/from-vscode-icons/light/refresh.svg" |
292 | 330 | }
|
293 | 331 | },
|
294 | 332 | {
|
|
325 | 363 | "command": "aws.quickStart",
|
326 | 364 | "title": "%AWS.command.quickStart%",
|
327 | 365 | "category": "AWS"
|
| 366 | + }, |
| 367 | + { |
| 368 | + "command": "aws.refreshCdkExplorer", |
| 369 | + "title": "%AWS.command.refreshCdkExplorer%", |
| 370 | + "category": "AWS", |
| 371 | + "icon": { |
| 372 | + "dark": "third-party/resources/from-vscode-icons/dark/refresh.svg", |
| 373 | + "light": "third-party/resources/from-vscode-icons/light/refresh.svg" |
| 374 | + } |
328 | 375 | }
|
329 | 376 | ],
|
330 | 377 | "jsonValidation": [
|
|
0 commit comments