diff options
author | Aleksey Kladov <[email protected]> | 2018-08-10 13:07:43 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-10 13:07:43 +0100 |
commit | d7c5a6f3081c2e7266620779d3c32067f947b959 (patch) | |
tree | 2aefb594e062c8fa7cc7879e5df6883f3bc5d015 /codeless/.vscode/tasks.json | |
parent | 4a900fd6815d3ea722b5e664aee9eac8bb9cb14f (diff) |
Start lang server
Diffstat (limited to 'codeless/.vscode/tasks.json')
-rw-r--r-- | codeless/.vscode/tasks.json | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/codeless/.vscode/tasks.json b/codeless/.vscode/tasks.json new file mode 100644 index 000000000..8e5a8b9ef --- /dev/null +++ b/codeless/.vscode/tasks.json | |||
@@ -0,0 +1,31 @@ | |||
1 | |||
2 | // Available variables which can be used inside of strings. | ||
3 | // ${workspaceRoot}: the root folder of the team | ||
4 | // ${file}: the current opened file | ||
5 | // ${fileBasename}: the current opened file's basename | ||
6 | // ${fileDirname}: the current opened file's dirname | ||
7 | // ${fileExtname}: the current opened file's extension | ||
8 | // ${cwd}: the current working directory of the spawned process | ||
9 | |||
10 | // A task runner that calls a custom npm script that compiles the extension. | ||
11 | { | ||
12 | "version": "0.2.0", | ||
13 | |||
14 | // we want to run npm | ||
15 | "command": "npm", | ||
16 | |||
17 | // the command is a shell script | ||
18 | "isShellCommand": true, | ||
19 | |||
20 | // show the output window only if unrecognized errors occur. | ||
21 | "showOutput": "silent", | ||
22 | |||
23 | // we run the custom script "compile" as defined in package.json | ||
24 | "args": ["run", "compile", "--loglevel", "silent"], | ||
25 | |||
26 | // The tsc compiler is started in watching mode | ||
27 | "isBackground": true, | ||
28 | |||
29 | // use the standard tsc in watch mode problem matcher to find compile problems in the output. | ||
30 | "problemMatcher": "$tsc-watch" | ||
31 | } | ||