1
0
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:
Arnaud Moura 2023-04-25 00:18:57 +02:00 committed by GitHub
parent ac58eca015
commit 88b29ae178
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}
}
}
]
}