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