Sublime Forum

Override file_regex/line_regex

#1

Due to complex build issues I need to override file_regex/line_regex.
The build path isn’t the edit path.

Tried passing a function instead of a string, Fail.
Tried many other things all Fail.

When an error result is clicked, I need to override the path to that file.

Thanks.

0 Likes

#2

I take it you want to replace the filename of the build results errors for error navigation?

You will probably need to overwrite write anew command that subclasses the exec command and replaces all occurrences of the bad filename with the good one before outputting in the results panel.

0 Likes