Skip to content

Commit cfd025f

Browse files
janjongboomsg-
authored andcommitted
Add problemMatcher definitions
1 parent 9f8d877 commit cfd025f

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

tools/export/vscode/tasks.tmpl

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,17 @@
66
"command": "make",
77
"isShellCommand": true,
88
"args": ["-j"],
9-
"showOutput": "always"
10-
}
9+
"showOutput": "always",
10+
"problemMatcher": {
11+
"owner": "cpp",
12+
"fileLocation": ["relative", "${workspaceRoot}/mbed-os"],
13+
"pattern": {
14+
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
15+
"file": 1,
16+
"line": 2,
17+
"column": 3,
18+
"severity": 4,
19+
"message": 5
20+
}
21+
}
22+
}

0 commit comments

Comments
 (0)