Sublime Forum

Build System capture errors reported in a new file and not the file with the error

#1

The project contains multiple directories. For example:
top_level/src/src_file.c
top_level/lib/lib_file.c
Both of these files are open in Sublime, with the lib_file.c being the active pane.
There is a compilation error in src_file.c when you build (compile) your src_file.c and lib_file.c
When the build output is displayed in the console window, I press F4 to select the file (src_file.c) that contains the error. However, since the error output does not contain a fully qualified file, the error message is copied into a new file relative to the directory of the last active file. In this example, this would be the lib directory.
Is there a way to have the error output place into the correct file?
That is, how do I find the fully qualified name for the file with the error?

0 Likes