mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 08:36:03 +00:00
Merge #858
858: Use named multiline Problem Matcher r=matklad a=kjeremy Now that https://github.com/Microsoft/vscode/pull/65840 is in the latest release we can use the first commit from https://github.com/rust-analyzer/rust-analyzer/pull/408 Co-authored-by: kjeremy <kjeremy@gmail.com>
This commit is contained in:
commit
4142a3adc6
@ -177,7 +177,6 @@
|
||||
},
|
||||
"problemPatterns": [
|
||||
{
|
||||
"//comment": "named multiline problem patterns are not parsed properly in vscode at the moment, when fixed in vscode replace both \"pattern\": [...] below with \"pattern\": \"$rustc\"",
|
||||
"name": "rustc",
|
||||
"patterns": [
|
||||
{
|
||||
@ -202,20 +201,7 @@
|
||||
"relative",
|
||||
"${workspaceRoot}"
|
||||
],
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^(warning|warn|error)(?:\\[(.*?)\\])?: (.*)$",
|
||||
"severity": 1,
|
||||
"code": 2,
|
||||
"message": 3
|
||||
},
|
||||
{
|
||||
"regexp": "^[\\s->=]*(.*?):(\\d*):(\\d*)\\s*$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"column": 3
|
||||
}
|
||||
]
|
||||
"pattern": "$rustc"
|
||||
},
|
||||
{
|
||||
"name": "rustc-watch",
|
||||
@ -227,20 +213,7 @@
|
||||
"beginsPattern": "^\\[Running ",
|
||||
"endsPattern": "^(\\[Finished running\\]|To learn more, run the command again with --verbose\\.)$"
|
||||
},
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^(warning|warn|error)(?:\\[(.*?)\\])?: (.*)$",
|
||||
"severity": 1,
|
||||
"code": 2,
|
||||
"message": 3
|
||||
},
|
||||
{
|
||||
"regexp": "^[\\s->=]*(.*?):(\\d*):(\\d*)\\s*$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"column": 3
|
||||
}
|
||||
]
|
||||
"pattern": "$rustc"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user