Skip to content

Commit 8dc5d0f

Browse files
committed
Make the root folder a vscode project too
1 parent 4714c6f commit 8dc5d0f

File tree

3 files changed

+104
-0
lines changed

3 files changed

+104
-0
lines changed

.vscode/launch.json

+79
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
{
2+
"version": "0.1.0",
3+
"configurations": [
4+
{
5+
"name": "launch as server",
6+
"type": "node",
7+
"request": "launch",
8+
"program": "${workspaceRoot}/out/debug-adapter/webKitDebug.js",
9+
"runtimeArgs": ["--nolazy"],
10+
"args": [ "--server=4712" ],
11+
"stopOnEntry": false,
12+
"sourceMaps": true,
13+
"outDir": "${workspaceRoot}/out",
14+
"cwd": "${workspaceRoot}"
15+
},
16+
{
17+
"name": "launch in extension host",
18+
"type": "extensionHost",
19+
"request": "launch",
20+
// Path to VSCode executable
21+
"runtimeExecutable": "${execPath}",
22+
"args": [
23+
"--extensionDevelopmentPath=${workspaceRoot}"
24+
],
25+
"stopOnEntry": true,
26+
"sourceMaps": true,
27+
"outDir": "${workspaceRoot}/out",
28+
"cwd": "${workspaceRoot}"
29+
},
30+
{
31+
"name": "run tests on mac",
32+
"type": "node",
33+
"request": "launch",
34+
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
35+
"runtimeArgs": [ "--nolazy" ],
36+
"args": [
37+
"--opts", "${workspaceRoot}/src/tests/config/mocha.opts",
38+
"--config", "${workspaceRoot}/src/tests/config/mac.json",
39+
"${workspaceRoot}/out/tests/"
40+
],
41+
"stopOnEntry": false,
42+
"sourceMaps": true,
43+
"outDir": "${workspaceRoot}/out",
44+
"cwd": "${workspaceRoot}"
45+
},
46+
{
47+
"name": "run tests on win",
48+
"type": "node",
49+
"request": "launch",
50+
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
51+
"runtimeArgs": [ "--nolazy" ],
52+
"args": [
53+
"--opts", "${workspaceRoot}/src/tests/config/mocha.opts",
54+
"--config", "${workspaceRoot}/src/tests/config/win.json",
55+
"${workspaceRoot}/out/tests/"
56+
],
57+
"stopOnEntry": false,
58+
"sourceMaps": true,
59+
"outDir": "${workspaceRoot}/out",
60+
"cwd": "${workspaceRoot}"
61+
},
62+
{
63+
"name": "run tests (custom)",
64+
"type": "node",
65+
"request": "launch",
66+
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
67+
"runtimeArgs": [ "--nolazy" ],
68+
"args": [
69+
"--opts", "${workspaceRoot}/src/tests/config/mocha.opts",
70+
"--config", "${workspaceRoot}/src/tests/config/custom.json",
71+
"${workspaceRoot}/out/tests/"
72+
],
73+
"stopOnEntry": false,
74+
"sourceMaps": true,
75+
"outDir": "${workspaceRoot}/out",
76+
"cwd": "${workspaceRoot}"
77+
}
78+
]
79+
}

.vscode/settings.json

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"editor.insertSpaces": true,
3+
"files.trimTrailingWhitespace": true,
4+
"files.exclude": {
5+
".git": true,
6+
"bin": true,
7+
"node_modules": false
8+
},
9+
"search.exclude": {
10+
".git": true,
11+
"node_modules": true,
12+
"bin": true,
13+
"out": true
14+
}
15+
}

.vscode/tasks.json

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"version": "0.1.0",
3+
"windows": {
4+
"command": ".\\node_modules\\.bin\\tsc"
5+
},
6+
"command": "./node_modules/.bin/tsc",
7+
"isShellCommand": true,
8+
"args": ["-p", "./src"],
9+
"problemMatcher": "$tsc"
10+
}

0 commit comments

Comments
 (0)