aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-12-15 16:20:13 +0000
committerGitHub <[email protected]>2019-12-15 16:20:13 +0000
commit4c1b2b921866279d014e377b958112b9e53edc52 (patch)
tree70f530a68a0cbf70f5cc3faaa8d8142951245545 /editors
parent6cbd8a4a4bbca8a7656df9f3ef849acebbf9ef9b (diff)
parent5166f6e5f20ce807a8f41d5039d2135a7eb13d29 (diff)
Merge #2566
2566: Add a rudimentary json regex to get at information like `endLine` r=matklad a=oli-obk Co-authored-by: Oliver Scherer <[email protected]>
Diffstat (limited to 'editors')
-rw-r--r--editors/code/package.json22
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",