|
2 | 2 | "name": "vs-script-commands", |
3 | 3 | "displayName": "Script Commands", |
4 | 4 | "description": "Adds additional commands to Visual Studio Code that uses scripts (JavaScript) for execution.", |
5 | | - "version": "3.0.0", |
| 5 | + "version": "4.0.0", |
6 | 6 | "publisher": "mkloubert", |
7 | 7 | "engines": { |
8 | 8 | "vscode": "^1.6.0" |
|
33 | 33 | "command": "extension.scriptCommands.executeVSCode", |
34 | 34 | "title": "Execute VSCode command", |
35 | 35 | "category": "Script commands" |
| 36 | + }, |
| 37 | + { |
| 38 | + "command": "extension.scriptCommands.quickExecution", |
| 39 | + "title": "Quick execution", |
| 40 | + "category": "Script commands" |
36 | 41 | } |
37 | 42 | ], |
38 | 43 | "configuration": { |
|
142 | 147 | "default": false |
143 | 148 | }, |
144 | 149 | "onFileClosed": { |
145 | | - "type": "boolean", |
146 | | - "description": "Is invoked when a file has been closed.", |
147 | | - "default": false |
148 | | - }, |
| 150 | + "type": "boolean", |
| 151 | + "description": "Is invoked when a file has been closed.", |
| 152 | + "default": false |
| 153 | + }, |
149 | 154 | "onFileDeleted": { |
150 | 155 | "type": "boolean", |
151 | 156 | "description": "Is invoked when a file has been deleted.", |
|
195 | 200 | "default": false |
196 | 201 | } |
197 | 202 | }, |
198 | | - "required":[ |
199 | | - "id", "script" |
| 203 | + "required": [ |
| 204 | + "id", |
| 205 | + "script" |
200 | 206 | ] |
201 | 207 | }, |
202 | 208 | { |
|
353 | 359 | "default": false |
354 | 360 | } |
355 | 361 | }, |
356 | | - "required":[ |
357 | | - "id", "script" |
| 362 | + "required": [ |
| 363 | + "id", |
| 364 | + "script" |
358 | 365 | ] |
359 | 366 | } |
360 | 367 | } |
|
363 | 370 | "globals": { |
364 | 371 | "description": "Global data available for ALL commands defined by that extension." |
365 | 372 | }, |
| 373 | + "quick": { |
| 374 | + "description": "Settings for 'quick execution'.", |
| 375 | + "type": "object", |
| 376 | + "properties": { |
| 377 | + "cwd": { |
| 378 | + "description": "The initial current directory for the executions.", |
| 379 | + "type": "string" |
| 380 | + }, |
| 381 | + "noResultInfo": { |
| 382 | + "description": "Show result of execution or not.", |
| 383 | + "type": "boolean", |
| 384 | + "default": false |
| 385 | + }, |
| 386 | + "showResultInTab": { |
| 387 | + "description": "Show results in tab instead of a popup or not.", |
| 388 | + "type": "boolean", |
| 389 | + "default": false |
| 390 | + }, |
| 391 | + "state": { |
| 392 | + "description": "The initial state value." |
| 393 | + } |
| 394 | + } |
| 395 | + }, |
366 | 396 | "showOutput": { |
367 | 397 | "type": "boolean", |
368 | 398 | "description": "Show output on startup or not.", |
|
385 | 415 | "test": "node ./node_modules/vscode/bin/test" |
386 | 416 | }, |
387 | 417 | "devDependencies": { |
388 | | - "typescript": "^2.0.3", |
389 | | - "vscode": "^1.0.0", |
390 | | - "mocha": "^2.3.3", |
| 418 | + "@types/fs-extra": "^2.1.0", |
| 419 | + "@types/glob": "^5.0.30", |
| 420 | + "@types/html-entities": "^1.2.15", |
| 421 | + "@types/marked": "0.0.28", |
| 422 | + "@types/mocha": "^2.2.32", |
391 | 423 | "@types/node": "^6.0.40", |
392 | | - "@types/mocha": "^2.2.32" |
| 424 | + "@types/tmp": "0.0.32", |
| 425 | + "mocha": "^2.3.3", |
| 426 | + "typescript": "^2.0.3", |
| 427 | + "vscode": "^1.0.0" |
393 | 428 | }, |
394 | 429 | "icon": "icon.png", |
395 | 430 | "author": { |
|
404 | 439 | }, |
405 | 440 | "readmeFilename": "README.md", |
406 | 441 | "dependencies": { |
407 | | - "moment": "^2.17.1" |
| 442 | + "fs-extra": "^3.0.0", |
| 443 | + "glob": "^7.1.1", |
| 444 | + "html-entities": "^1.2.1", |
| 445 | + "marked": "^0.3.6", |
| 446 | + "moment": "^2.17.1", |
| 447 | + "tmp": "0.0.31" |
408 | 448 | } |
409 | 449 | } |
0 commit comments