mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-27 20:35:09 +00:00
Properly format json
This commit is contained in:
parent
eed57dcded
commit
5166f6e5f2
1 changed files with 11 additions and 9 deletions
|
@ -316,15 +316,17 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "rustc-json",
|
"name": "rustc-json",
|
||||||
"patterns": [{
|
"patterns": [
|
||||||
"regexp": "^.*\"message\":{\"message\":\"([^\"]*).*?\"file_name\":\"([^\"]+).*?\"line_start\":(\\d+).*?\"line_end\":(\\d+).*?\"column_start\":(\\d+).*?\"column_end\":(\\d+).*}$",
|
{
|
||||||
"message": 1,
|
"regexp": "^.*\"message\":{\"message\":\"([^\"]*).*?\"file_name\":\"([^\"]+).*?\"line_start\":(\\d+).*?\"line_end\":(\\d+).*?\"column_start\":(\\d+).*?\"column_end\":(\\d+).*}$",
|
||||||
"file": 2,
|
"message": 1,
|
||||||
"line": 3,
|
"file": 2,
|
||||||
"endLine": 4,
|
"line": 3,
|
||||||
"column": 5,
|
"endLine": 4,
|
||||||
"endColumn": 6
|
"column": 5,
|
||||||
}]
|
"endColumn": 6
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"problemMatchers": [
|
"problemMatchers": [
|
||||||
|
|
Loading…
Reference in a new issue