summaryrefslogtreecommitdiffstats
path: root/.github/problem-matchers/msvc.json
diff options
context:
space:
mode:
Diffstat (limited to '.github/problem-matchers/msvc.json')
-rw-r--r--.github/problem-matchers/msvc.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/problem-matchers/msvc.json b/.github/problem-matchers/msvc.json
new file mode 100644
index 0000000..303a36b
--- /dev/null
+++ b/.github/problem-matchers/msvc.json
@@ -0,0 +1,19 @@
+{
+ "__comment": "Taken from vscode's vs/workbench/contrib/tasks/common/problemMatcher.ts msCompile rule",
+ "problemMatcher": [
+ {
+ "owner": "msvc-problem-matcher",
+ "pattern": [
+ {
+ "regexp": "^(?:\\s+\\d+\\>)?([^\\s].*)\\((\\d+),?(\\d+)?(?:,\\d+,\\d+)?\\)\\s*:\\s+(error|warning|info)\\s+(\\w{1,2}\\d+)\\s*:\\s*(.*)$",
+ "file": 1,
+ "line": 2,
+ "column": 3,
+ "severity": 4,
+ "code": 5,
+ "message": 6
+ }
+ ]
+ }
+ ]
+ } \ No newline at end of file