Skip to content

Commit

Permalink
Improve VS tasks - hide "Found declaration" with message numbers (lik…
Browse files Browse the repository at this point in the history
…e in default lazbuild)
  • Loading branch information
michaliskambi committed Jun 23, 2023
1 parent ce38ca8 commit 40e39f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/sample_vs_code_tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
because they only make sense when connected to previous error message, and VS Code reorders them.
Test: https://regex101.com/ (ECMAScript flavor)
*/
"regexp": "^([^\\(]+)\\(([\\d+,]+)\\)\\s+(Fatal|Warning|Error|Note|Hint):\\s+((?!\\(10026\\) There were)(?!There were)(?!Found declaration: ).*)$",
"regexp": "^([^\\(]+)\\(([\\d+,]+)\\)\\s+(Fatal|Warning|Error|Note|Hint):\\s+((?!\\(10026\\) There were)(?!There were)(?!Found declaration: )(?!\\(5088\\)Found declaration: ).*)$",
"file": 1,
// location may be line or line+column.
"location": 2,
Expand Down

0 comments on commit 40e39f6

Please sign in to comment.