Yeah, as FichteFoll says, piping error output through some utility that makes it sane seems to be a fact of life since tool writers seem to find so many novel ways to screw up error reporting. I do that with a hyper-verbose compiler which seems to think 10+ lines of output for each error or warning is a good idea.
Build system regex improvement
motocoder
#23
Yes, that seems like a reasonable workaround, but I think the more elegant solution would be to add some flexibility to Sublime on this. Since Sublime is script-able, why not provide a way to script this rather than the simplistic regex? Even supporting named groups in the regex would help a lot.
1 Like
nutjob2
#24
The entire build system is scripted in Python from what I can tell. If you go into the āDefaultā package and look at exec.py youāll find code for the build system. Iāve already hacked that to change the inline errors as per my above comment, Iām sure you could replace the regexes too, but I havenāt looked into it.
0 Likes