mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
doc: create custom problemMatcher in VSCode (#18047)
This commit is contained in:
parent
ac58eca015
commit
88b29ae178
1 changed files with 13 additions and 2 deletions
|
@ -127,9 +127,20 @@ with a label named `build`.
|
||||||
],
|
],
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"presentation": {
|
"presentation": {
|
||||||
"reveal": "silent"
|
"reveal": "never"
|
||||||
},
|
},
|
||||||
"problemMatcher": "$gcc"
|
"problemMatcher": {
|
||||||
|
"owner": "v",
|
||||||
|
"fileLocation": ["relative", "${workspaceFolder}"],
|
||||||
|
"pattern": {
|
||||||
|
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
||||||
|
"file": 1,
|
||||||
|
"line": 2,
|
||||||
|
"column": 3,
|
||||||
|
"severity": 4,
|
||||||
|
"message": 5
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue