diff options
-rw-r--r-- | editors/code/package.json | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 43db61a8b..ebb1b4a98 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -313,6 +313,18 @@ | |||
313 | "column": 3 | 313 | "column": 3 |
314 | } | 314 | } |
315 | ] | 315 | ] |
316 | }, | ||
317 | { | ||
318 | "name": "rustc-json", | ||
319 | "patterns": [{ | ||
320 | "regexp": "^.*\"message\":{\"message\":\"([^\"]*).*?\"file_name\":\"([^\"]+).*?\"line_start\":(\\d+).*?\"line_end\":(\\d+).*?\"column_start\":(\\d+).*?\"column_end\":(\\d+).*}$", | ||
321 | "message": 1, | ||
322 | "file": 2, | ||
323 | "line": 3, | ||
324 | "endLine": 4, | ||
325 | "column": 5, | ||
326 | "endColumn": 6 | ||
327 | }] | ||
316 | } | 328 | } |
317 | ], | 329 | ], |
318 | "problemMatchers": [ | 330 | "problemMatchers": [ |
@@ -325,6 +337,14 @@ | |||
325 | "pattern": "$rustc" | 337 | "pattern": "$rustc" |
326 | }, | 338 | }, |
327 | { | 339 | { |
340 | "name": "rustc-json", | ||
341 | "fileLocation": [ | ||
342 | "relative", | ||
343 | "${workspaceRoot}" | ||
344 | ], | ||
345 | "pattern": "$rustc-json" | ||
346 | }, | ||
347 | { | ||
328 | "name": "rustc-watch", | 348 | "name": "rustc-watch", |
329 | "fileLocation": [ | 349 | "fileLocation": [ |
330 | "relative", | 350 | "relative", |