Skip to content

Commit 04cd143

Browse files
committed
Added .vscode
1 parent 78ad163 commit 04cd143

File tree

2 files changed

+102
-0
lines changed

2 files changed

+102
-0
lines changed

.vscode/launch.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"version": "0.1.0",
3+
"configurations": [
4+
{
5+
"name": "Launch",
6+
"request": "launch",
7+
"type": "node",
8+
"program": "dist/exceptionless.node.js",
9+
"runtimeArgs": [
10+
"--nolazy"
11+
],
12+
"sourceMaps": true,
13+
"outDir": "dist"
14+
},
15+
{
16+
"name": "Test",
17+
"request": "launch",
18+
"type": "node",
19+
"program": "node_modules/.bin/_mocha",
20+
"args": [
21+
"dist/temp/exceptionless-spec.js"
22+
],
23+
"runtimeArgs": [
24+
"--nolazy"
25+
],
26+
"sourceMaps": true,
27+
"outDir": "dist"
28+
},
29+
{
30+
"name": "Attach",
31+
"request": "attach",
32+
"type": "node",
33+
"port": 5858,
34+
"sourceMaps": true,
35+
"outDir": "dist"
36+
}
37+
]
38+
}

.vscode/tasks.json

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"version": "0.1.0",
3+
"command": "gulp",
4+
"isShellCommand": true,
5+
"args": [
6+
"--no-color"
7+
],
8+
"tasks": [
9+
{
10+
"taskName": "build",
11+
"args": [],
12+
"isBuildCommand": true,
13+
"problemMatcher": {
14+
// The problem is owned by the cpp language service.
15+
"owner": "typescript",
16+
// The file name for reported problems is relative to the opened folder.
17+
"fileLocation": [
18+
"relative",
19+
"${workspaceRoot}/src"
20+
],
21+
// The actual pattern to match problems in the output.
22+
"pattern": {
23+
// The regular expression. Example to match: helloWorld.c:5:3: warning: implicit declaration of function ‘prinft’ [-Wimplicit-function-declaration]
24+
"regexp": "\\[\\d\\d:\\d\\d:\\d\\d\\] \\[gulp-tslint\\] error \\([^)]+\\) ([^\\[]+)\\[(\\d+), (\\d+)\\]: (.+)$",
25+
// The first match group matches the file name which is relative.
26+
"file": 1,
27+
// The second match group matches the line on which the problem occurred.
28+
"line": 2,
29+
// The third match group matches the column at which the problem occurred.
30+
"column": 3,
31+
// The fifth match group matches the message.
32+
"message": 4
33+
}
34+
}
35+
},
36+
{
37+
"taskName": "test",
38+
"args": [],
39+
"isBuildCommand": true,
40+
"problemMatcher": {
41+
// The problem is owned by the cpp language service.
42+
"owner": "typescript",
43+
// The file name for reported problems is relative to the opened folder.
44+
"fileLocation": [
45+
"relative",
46+
"${workspaceRoot}/src"
47+
],
48+
// The actual pattern to match problems in the output.
49+
"pattern": {
50+
// The regular expression. Example to match: helloWorld.c:5:3: warning: implicit declaration of function ‘prinft’ [-Wimplicit-function-declaration]
51+
"regexp": "\\[\\d\\d:\\d\\d:\\d\\d\\] \\[gulp-tslint\\] error \\([^)]+\\) ([^\\[]+)\\[(\\d+), (\\d+)\\]: (.+)$",
52+
// The first match group matches the file name which is relative.
53+
"file": 1,
54+
// The second match group matches the line on which the problem occurred.
55+
"line": 2,
56+
// The third match group matches the column at which the problem occurred.
57+
"column": 3,
58+
// The fifth match group matches the message.
59+
"message": 4
60+
}
61+
}
62+
}
63+
]
64+
}

0 commit comments

Comments
 (0)