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 | |
parent | 4a900fd6815d3ea722b5e664aee9eac8bb9cb14f (diff) |
Start lang server
Diffstat (limited to 'codeless/.vscode')
-rw-r--r-- | codeless/.vscode/launch.json | 19 | ||||
-rw-r--r-- | codeless/.vscode/settings.json | 10 | ||||
-rw-r--r-- | codeless/.vscode/tasks.json | 31 |
3 files changed, 60 insertions, 0 deletions
diff --git a/codeless/.vscode/launch.json b/codeless/.vscode/launch.json new file mode 100644 index 000000000..64f2c3693 --- /dev/null +++ b/codeless/.vscode/launch.json | |||
@@ -0,0 +1,19 @@ | |||
1 | { | ||
2 | // Use IntelliSense to learn about possible attributes. | ||
3 | // Hover to view descriptions of existing attributes. | ||
4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
5 | "version": "0.2.0", | ||
6 | "configurations": [ | ||
7 | { | ||
8 | "name": "Launch Extension", | ||
9 | "type": "extensionHost", | ||
10 | "request": "launch", | ||
11 | "runtimeExecutable": "${execPath}", | ||
12 | "args": ["--extensionDevelopmentPath=${workspaceRoot}"], | ||
13 | "stopOnEntry": false, | ||
14 | "sourceMaps": true, | ||
15 | "outFiles": [ "${workspaceRoot}/out/src/**/*.js" ], | ||
16 | "preLaunchTask": "npm" | ||
17 | }, | ||
18 | ] | ||
19 | } | ||
diff --git a/codeless/.vscode/settings.json b/codeless/.vscode/settings.json new file mode 100644 index 000000000..580db9c6a --- /dev/null +++ b/codeless/.vscode/settings.json | |||
@@ -0,0 +1,10 @@ | |||
1 | // Place your settings in this file to overwrite default and user settings. | ||
2 | { | ||
3 | "files.exclude": { | ||
4 | "out": true, | ||
5 | "node_modules": true | ||
6 | }, | ||
7 | "search.exclude": { | ||
8 | "out": true // set this to false to include "out" folder in search results | ||
9 | } | ||
10 | } \ No newline at end of file | ||
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 | } | ||