Skip to content

Commit

Permalink
contribute just the problem matcher itself
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonykim1 committed Sep 16, 2024
1 parent 144ecf6 commit 7477cd1
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,31 @@
"browser": "./dist/extension.browser.js",
"l10n": "./l10n",
"contributes": {
"problemMatchers":
[
{
"name": "pythonCustomMatcher",
"owner": "python",
"source": "python",
"fileLocation": "autoDetect",
"pattern": [
{
"regexp": "^.*File \\\"([^\\\"]|.*)\\\", line (\\d+).*",
"file": 1,
"line": 2,
"severity": 4,
"message": 5
},
{
"regexp": "^.*raise.*$"
},
{
"regexp": "^\\s*(.*)\\s*$",
"message": 1
}
]
}
],
"walkthroughs": [
{
"id": "pythonWelcome",
Expand Down

0 comments on commit 7477cd1

Please sign in to comment.