I have configured this in the past, and sometimes it works...or not with various linting tool printouts. For example, some file output might be:
foobar/thisorthat/thing.py:123
And if it prints out on the command line, a [CMD] + [MOUSE_CLICK] will open that file as if it is a hyperlink in the configured text editor default for that filetype.
Other times, the OS will interpret the string as a hyperlink and try to open it in the browser window (this is not the goal).
My question amounts to: how would I modify the output string:
# full question
foobar/thisorthat/thing.py:123
# simplification that still gets it done
foobar/thisorthat/thing.py
So that the [CMD]+[MOUSE_CLICK] mechanic opens the file with the text editor rather than the browser?
iterm2
's terminal