I want to setup build system so:
- If build is successful, run my program
- If not, it automatically jump to the first error (i.e. as if I pressed F4 once)
Simplest way I see it is to setup a callback with
"command": "next_result"
Which would navigate to first error in case build fails.
How could I do it?
I feel it should be something very evident, but cannot find anything in build reference.