Skip to content
This repository was archived by the owner on Jan 10, 2019. It is now read-only.

Commit ab21cde

Browse files
committed
updated README
1 parent d208936 commit ab21cde

File tree

4 files changed

+29
-2
lines changed

4 files changed

+29
-2
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,33 @@ Press `F1` to open the list of commands and select `Script commands: Quick execu
263263

264264
![Demo Quick execution](https://raw.githubusercontent.com/mkloubert/vs-script-commands/master/img/demo4.gif)
265265

266+
You can define custom settings for the feature:
267+
268+
```json
269+
{
270+
"script.commands": {
271+
"quick": [
272+
{
273+
"noResultInfo": false,
274+
"showResultInTab": true,
275+
276+
"state": {
277+
"MK": 23979,
278+
"TM": "1979-09-05 23:09:19.079"
279+
}
280+
}
281+
]
282+
}
283+
}
284+
```
285+
286+
| Name | Description |
287+
| ---- | --------- |
288+
| `cwd` | The initial current directory for the executions. |
289+
| `noResultInfo` | Do not show results of executions. Default: `(false)` |
290+
| `showResultInTab` | Show results in tab instead of a popup or not. Default: `(false)` |
291+
| `state` | The initial state value. |
292+
266293
## Documentation [[↑](#table-of-contents)]
267294

268295
The full API documentation can be found [here](https://mkloubert.github.io/vs-script-commands/).

img/demo2.gif

213 KB
Loading

img/screenshot1.png

-2.96 KB
Loading

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vs-script-commands",
33
"displayName": "Script Commands",
44
"description": "Adds additional commands to Visual Studio Code that uses scripts (JavaScript) for execution.",
5-
"version": "4.0.0",
5+
"version": "4.0.1",
66
"publisher": "mkloubert",
77
"engines": {
88
"vscode": "^1.6.0"
@@ -379,7 +379,7 @@
379379
"type": "string"
380380
},
381381
"noResultInfo": {
382-
"description": "Show result of execution or not.",
382+
"description": "Do not show results of executions.",
383383
"type": "boolean",
384384
"default": false
385385
},

0 commit comments

Comments
 (0)