Skip to content

Commit 0a94f3c

Browse files
committed
Update vscode engine and tasks
1 parent 8e42422 commit 0a94f3c

File tree

17 files changed

+600
-518
lines changed

17 files changed

+600
-518
lines changed

.vscode/launch.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.0",
44
"configurations": [
55
{
6-
"name": "Launch Extension",
6+
"name": "Extension",
77
"type": "extensionHost",
88
"request": "launch",
99
"runtimeExecutable": "${execPath}",
@@ -13,12 +13,12 @@
1313
"stopOnEntry": false,
1414
"sourceMaps": true,
1515
"outFiles": [
16-
"${workspaceRoot}/out/src/**/*.js"
16+
"${workspaceRoot}/out/**/*.js"
1717
],
18-
"preLaunchTask": "npm"
18+
"preLaunchTask": "npm: watch"
1919
},
2020
{
21-
"name": "Launch Tests",
21+
"name": "Extension Tests",
2222
"type": "extensionHost",
2323
"request": "launch",
2424
"runtimeExecutable": "${execPath}",
@@ -31,7 +31,7 @@
3131
"outFiles": [
3232
"${workspaceRoot}/out/test/**/*.js"
3333
],
34-
"preLaunchTask": "npm"
34+
"preLaunchTask": "npm: watch"
3535
}
3636
]
3737
}

.vscode/tasks.json

Lines changed: 18 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,20 @@
1-
// Available variables which can be used inside of strings.
2-
// ${workspaceRoot}: the root folder of the team
3-
// ${file}: the current opened file
4-
// ${fileBasename}: the current opened file's basename
5-
// ${fileDirname}: the current opened file's dirname
6-
// ${fileExtname}: the current opened file's extension
7-
// ${cwd}: the current working directory of the spawned process
8-
// A task runner that calls a custom npm script that compiles the extension.
1+
// See https://go.microsoft.com/fwlink/?LinkId=733558
2+
// for the documentation about the tasks.json format
93
{
10-
"version": "0.1.0",
11-
// we want to run npm
12-
"command": "npm",
13-
// the command is a shell script
14-
"isShellCommand": true,
15-
// show the output window only if unrecognized errors occur.
16-
"showOutput": "silent",
17-
// we run the custom script "compile" as defined in package.json
18-
"args": [
19-
"run",
20-
"compile",
21-
"--loglevel",
22-
"silent"
23-
],
24-
// The tsc compiler is started in watching mode
25-
"isWatching": true,
26-
// use the standard tsc in watch mode problem matcher to find compile problems in the output.
27-
"problemMatcher": "$tsc-watch"
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"type": "npm",
8+
"script": "watch",
9+
"problemMatcher": "$tsc-watch",
10+
"isBackground": true,
11+
"presentation": {
12+
"reveal": "never"
13+
},
14+
"group": {
15+
"kind": "build",
16+
"isDefault": true
17+
}
18+
}
19+
]
2820
}

0 commit comments

Comments
 (0)