aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/code/package.json55
1 files changed, 32 insertions, 23 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 2989a7016..93a1d6d01 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -145,37 +145,46 @@
145 } 145 }
146 } 146 }
147 }, 147 },
148 "problemMatchers": [ 148 "problemPatterns": [
149 { 149 {
150 "name": "rustc", 150 "name": "rustc",
151 "fileLocation": [ 151 "patterns": [
152 "relative",
153 "${workspaceRoot}"
154 ],
155 "pattern": [
156 { 152 {
157 "regexp": "^(warning|warn|error)(\\[(.*)\\])?: (.*)$", 153 "regexp": "^(warning|warn|error)(?:\\[(.*?)\\])?: (.*)$",
158 "severity": 1, 154 "severity": 1,
159 "message": 4, 155 "code": 2,
160 "code": 3 156 "message": 3
161 },
162 {
163 "regexp": "^([\\s->=]*(.*):(\\d*):(\\d*)|.*)$",
164 "file": 2,
165 "line": 3,
166 "column": 4
167 }, 157 },
168 { 158 {
169 "regexp": "^.*$" 159 "regexp": "^[\\s->=]*(.*?):(\\d*):(\\d*)\\s*$",
170 }, 160 "file": 1,
171 { 161 "line": 2,
172 "regexp": "^([\\s->=]*(.*):(\\d*):(\\d*)|.*)$", 162 "column": 3
173 "file": 2,
174 "line": 3,
175 "column": 4
176 } 163 }
177 ] 164 ]
178 } 165 }
166 ],
167 "problemMatchers": [
168 {
169 "name": "rustc",
170 "fileLocation": [
171 "relative",
172 "${workspaceRoot}"
173 ],
174 "pattern": "$rustc"
175 },
176 {
177 "name": "rustc-watch",
178 "fileLocation": [
179 "relative",
180 "${workspaceRoot}"
181 ],
182 "background": {
183 "beginsPattern": "^\\[Running ",
184 "endsPattern": "^(\\[Finished running\\]|To learn more, run the command again with --verbose\\.)$"
185 },
186 "pattern": "$rustc"
187 }
179 ] 188 ]
180 } 189 }
181} 190} \ No newline at end of file