mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
doc: create custom problemMatcher in VSCode (#18047)
This commit is contained in:
parent
ac58eca015
commit
88b29ae178
@ -127,9 +127,20 @@ with a label named `build`.
|
||||
],
|
||||
"group": "build",
|
||||
"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…
Reference in New Issue
Block a user