Robot-Will/Stino — pull request #197 by brainchen98 (2014-11-28 04:55:53+00:00)
Title: Goto Error

Is there a possibility of having a goto error like command when you clock on the error?

I know that one of the issues is that Arduino generates .cpp files with different line numbers from the .ino file.

However, if you program it by simple using the int main() function and save the file as a .cpp, it won't put all the code from the .ino file into the standard .cpp file which basically looks like:
extern "C" int main(void){
setup();
while(1){
loop();
}
}

By doing this, the line numbers for the errors/warnings are correct, and so going to the error should in theory be quite easy (by parsing the output of the build)?

Thanks.
Brian