Can it extract the correct line number from tracebacks, compiler / linter output etc? I wrote this tool, but I know George Nachman has added some features since I wtote it:
It should, I originally built it for rspec output but it should work with most common formats that put the line number attached to the path with a colon.
OK, but beyond path:line_column there are other common formats in which paths and line numbers are dumped to the terminal, e.g. stack traces. The original idea behind iterm2-dwim was to house a useful collection of regular expressions for capturing these, outside iTerm2, but maybe it would make sense to extend the functionality inside iTerm2? So far iterm2-dwim only implements a handful that I personally needed:
Compiler/Linter etc output, e.g.
a/b/c.py:18:1:
Git diff output (note the initial meaningless "a" or "b"), e.g.