Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit 6520108

Browse files
committed
Add .vscode
1 parent 70128fc commit 6520108

File tree

4 files changed

+107
-1
lines changed

4 files changed

+107
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
node_modules/
22
lib/
33
.idea/
4-
.vscode/
54
.nyc_output/
65
coverage/
76
*.iml

.vscode/launch.json

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
// Use IntelliSense to learn about possible Node.js debug 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+
"type": "node",
9+
"request": "launch",
10+
"name": "Launch",
11+
"program": "${workspaceRoot}/lib/language-server.js",
12+
"args": [
13+
"--port",
14+
"2089",
15+
"--strict"
16+
],
17+
"cwd": "${workspaceRoot}",
18+
"sourceMaps": true,
19+
"outFiles": [
20+
"${workspaceRoot}/lib/**/*.js"
21+
]
22+
},
23+
{
24+
"type": "node",
25+
"request": "launch",
26+
"name": "Mocha",
27+
"cwd": "${workspaceRoot}",
28+
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
29+
"runtimeArgs": [
30+
"--require",
31+
"source-map-support/register"
32+
],
33+
"args": [
34+
"--no-timeouts",
35+
"--colors",
36+
"--bail",
37+
"--slow",
38+
"2000",
39+
"${workspaceRoot}/lib/test/**/*.js"
40+
],
41+
"internalConsoleOptions": "openOnSessionStart",
42+
"sourceMaps": true,
43+
"protocol": "inspector",
44+
"outFiles": [
45+
"${workspaceRoot}/lib/**/*.js"
46+
]
47+
},
48+
{
49+
"type": "node",
50+
"request": "attach",
51+
"name": "Attach",
52+
"port": 18304,
53+
"sourceMaps": true,
54+
"outFiles": [
55+
"${workspaceRoot}/lib/**/*.js"
56+
]
57+
}
58+
]
59+
}

.vscode/settings.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"typescript.tsdk": "./node_modules/typescript/lib",
3+
"search.exclude": {
4+
"**/.git": true,
5+
"**/node_modules": true,
6+
"**/bower_components": true,
7+
"lib": true
8+
}
9+
}

.vscode/tasks.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"version": "0.1.0",
3+
"isShellCommand": true,
4+
"command": "npm",
5+
"run": ["run"],
6+
"options": {
7+
"cwd": "${workspaceRoot}"
8+
},
9+
"tasks": [
10+
{
11+
"taskName": "build",
12+
"isBuildCommand": true,
13+
"problemMatcher": "$tsc"
14+
},
15+
{
16+
"taskName": "watch",
17+
"isBackground": true,
18+
"problemMatcher": "$tsc-watch"
19+
},
20+
{
21+
"taskName": "clean"
22+
},
23+
{
24+
"taskName": "lint",
25+
"problemMatcher": {
26+
"pattern": {
27+
"regexp": "^(.+)\\((\\d+),(\\d+)\\): (\\w+) (.+)$",
28+
"file": 1,
29+
"line": 2,
30+
"column": 3,
31+
"severity": 4,
32+
"message": 5
33+
},
34+
"owner": "tslint",
35+
"fileLocation": ["relative", "${workspaceRoot}"]
36+
}
37+
}
38+
]
39+
}

0 commit comments

Comments
 (0)