Merge #2566
2566: Add a rudimentary json regex to get at information like `endLine` r=matklad a=oli-obk Co-authored-by: Oliver Scherer <github35764891676564198441@oli-obk.de>
This commit is contained in:
commit
4c1b2b9218
@ -313,6 +313,20 @@
|
||||
"column": 3
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "rustc-json",
|
||||
"patterns": [
|
||||
{
|
||||
"regexp": "^.*\"message\":{\"message\":\"([^\"]*).*?\"file_name\":\"([^\"]+).*?\"line_start\":(\\d+).*?\"line_end\":(\\d+).*?\"column_start\":(\\d+).*?\"column_end\":(\\d+).*}$",
|
||||
"message": 1,
|
||||
"file": 2,
|
||||
"line": 3,
|
||||
"endLine": 4,
|
||||
"column": 5,
|
||||
"endColumn": 6
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"problemMatchers": [
|
||||
@ -324,6 +338,14 @@
|
||||
],
|
||||
"pattern": "$rustc"
|
||||
},
|
||||
{
|
||||
"name": "rustc-json",
|
||||
"fileLocation": [
|
||||
"relative",
|
||||
"${workspaceRoot}"
|
||||
],
|
||||
"pattern": "$rustc-json"
|
||||
},
|
||||
{
|
||||
"name": "rustc-watch",
|
||||
"fileLocation": [
|
||||
|
Loading…
x
Reference in New Issue
Block a user