I have created a custom language plugin for VS Code.
Also I created a task with a custom problem matcher:
"problemMatcher": {
"owner": "customlang",
"fileLocation": ["relative", "./"],
"severity": "error",
"pattern": {
"regexp": "^(.*)<(\\d+)>\\s:(.*):(.*)",
"file": 1,
"line": 2,
"message": 4
}
}
This works fine and reports errors correctly in the Problems tab at the bottom.
However, I have to manually click the error to jump to it.
Is there a way to automatically jump to an error, once there is one?
(in this language, there are never multiple errors at once)