mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 05:38:46 +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",
|
||||
"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
|
||||
}]
|
||||
"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": [
|
||||
|
|
Loading…
Reference in a new issue