Skip to content

Commit

Permalink
Update Problem Matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
SE2Dev committed Nov 4, 2018
1 parent 1c4e2c1 commit 5da7cc6
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,26 @@
// The problem is owned by the cpp language service.
"owner": "inno",
// The file name for reported problems is relative to the opened folder.
"fileLocation": [
"absolute"
],
"fileLocation": "absolute",
// The actual pattern to match problems in the output.
"pattern": {
"regexp": "^(Error) on line (\\d+) in (.*?:.*?):\\s*(.*)$",
"file": 3,
"line": 2,
"message": 4,
"severity": 1
}
"pattern": [
{
"regexp": "^(Warning|Error) on line (\\d+) in\\s*([A-Z]:.+?):\\s*Column\\s*(\\d+):.*$",
"file": 3,
"line": 2,
"column": 4,
// "message": 5,
"severity": 1
},
{
"regexp": "^(.*)$",
"message": 1,
"loop": true
},
{
"regexp": "^Compile aborted.$",
},
]
}
]
}
Expand Down

0 comments on commit 5da7cc6

Please sign in to comment.