aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-02-19 09:10:52 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-02-19 09:10:52 +0000
commit4142a3adc6b86834540c09babadb2b872fdd3424 (patch)
tree31455d6970d2f42f7b2489ba0e913c6b8ae5a742 /editors/code
parentdae8b68d9d4beea0fb2edc648321ae2af8870336 (diff)
parentf626733c4ae3940c820fc76e8eb845ff4888943f (diff)
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 <[email protected]>
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/package.json31
1 files changed, 2 insertions, 29 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 4fc2cb754..caec5a418 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -177,7 +177,6 @@
177 }, 177 },
178 "problemPatterns": [ 178 "problemPatterns": [
179 { 179 {
180 "//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\"",
181 "name": "rustc", 180 "name": "rustc",
182 "patterns": [ 181 "patterns": [
183 { 182 {
@@ -202,20 +201,7 @@
202 "relative", 201 "relative",
203 "${workspaceRoot}" 202 "${workspaceRoot}"
204 ], 203 ],
205 "pattern": [ 204 "pattern": "$rustc"
206 {
207 "regexp": "^(warning|warn|error)(?:\\[(.*?)\\])?: (.*)$",
208 "severity": 1,
209 "code": 2,
210 "message": 3
211 },
212 {
213 "regexp": "^[\\s->=]*(.*?):(\\d*):(\\d*)\\s*$",
214 "file": 1,
215 "line": 2,
216 "column": 3
217 }
218 ]
219 }, 205 },
220 { 206 {
221 "name": "rustc-watch", 207 "name": "rustc-watch",
@@ -227,20 +213,7 @@
227 "beginsPattern": "^\\[Running ", 213 "beginsPattern": "^\\[Running ",
228 "endsPattern": "^(\\[Finished running\\]|To learn more, run the command again with --verbose\\.)$" 214 "endsPattern": "^(\\[Finished running\\]|To learn more, run the command again with --verbose\\.)$"
229 }, 215 },
230 "pattern": [ 216 "pattern": "$rustc"
231 {
232 "regexp": "^(warning|warn|error)(?:\\[(.*?)\\])?: (.*)$",
233 "severity": 1,
234 "code": 2,
235 "message": 3
236 },
237 {
238 "regexp": "^[\\s->=]*(.*?):(\\d*):(\\d*)\\s*$",
239 "file": 1,
240 "line": 2,
241 "column": 3
242 }
243 ]
244 } 217 }
245 ] 218 ]
246 } 219 }