Home Download Buy Blog Forum Support

ST3: For Make projects, can't jump to file with errors

ST3: For Make projects, can't jump to file with errors

Postby trapgate on Tue Dec 17, 2013 7:37 pm

Using ST3 on a project that uses recursive make as its build system, you can't jump to the file and line with an error in it by double-clicking the error line in the build output. This is because make doesn't output the full path, just the filename:line:column. The error line does get highlighted, but if you double-click it ST3 will jump to a new (empty) file.

For example:

make[3]: Entering directory `/projects/pr1/src/parser`
g++ <compiler options snipped>
parser.cc: In member function 'Parser::generate(int depth)':
parser.cc:201:44: error: 'ix' was not declared in this scope

The last line will be highlighted and clickable, but clicking it will open a new file in the project's root directory.
trapgate
 
Posts: 3
Joined: Tue Dec 17, 2013 7:29 pm

Re: ST3: For Make projects, can't jump to file with errors

Postby trapgate on Tue Jan 07, 2014 11:54 pm

I've noticed something else about this problem:

If I right-click the filename in the build output window the two options "open containing folder" and "reveal in sidebar" both *work*, which means ST3 knows the file location. It's only double-clicking the file that tries to open the file in the root directory of the project.
trapgate
 
Posts: 3
Joined: Tue Dec 17, 2013 7:29 pm

Re: ST3: For Make projects, can't jump to file with errors

Postby trapgate on Mon Jan 20, 2014 1:40 am

Any comment? Is my explanation clear enough?
trapgate
 
Posts: 3
Joined: Tue Dec 17, 2013 7:29 pm


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 24 guests