diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 31 |
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 | } |