blob: cbc0370bc2fd14cee99a2deb7eb97a811820434d (
plain)
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
|
# VSCode integration
`tasks.json` vscode task to run the parser on current file:
```
{
"label": "QSP Parser",
"type": "shell",
"command": ".\\tools\\Parser\\qsp_parser.exe ${file}",
"presentation": {
"clear": true,
"focus": false,
"showReuseMessage": false,
"panel": "shared",
"reveal": "silent"
}
}
```
and a `settings.json` part that runs said task when you save the file
```
"triggerTaskOnSave.tasks": {
"QSP Parser": [
"*.qsrc"
]
}
```
(requires Trigger Task on Save extension)
https://marketplace.visualstudio.com/items?itemName=Gruntfuggly.triggertaskonsave
|