Maximus5 / conemu-old-issues

Old issues imported from googlecode. Project was moved to
https://conemu.github.io
6 stars 1 forks source link

Add support for grouped results to highlight detection #1817

Open Maximus5 opened 9 years ago

Maximus5 commented 9 years ago

Originally reported on Google Code with ID 1818

If I do:

$ git grep --heading --color --line-number PATTERN
SOME_FILE:
4: blah blah PATTERN
30: wibble wibble PATTERN
ANOTHER_FILE:
10: foo bar PATTERN baz

could you detect a number at the start of the line (the colon is colored) and find
the filename above it, so that the filename and the line numbers could be linkified?

Reported by sam.hasler on 2014-11-18 13:26:05

Maximus5 commented 9 years ago
oops, git grep does not output a colon after the filename.

Reported by sam.hasler on 2014-11-18 13:27:30

Maximus5 commented 9 years ago
May be... Thought it will be nice with git diff rows too.
But now detector operates with visible screen only. The file name may be high above.

Reported by ConEmu.Maximus5 on 2014-11-18 14:07:02

Maximus5 commented 9 years ago
visible screen would be acceptable, if it's more than that I'd want to grep again with
a more restrictive pattern.

Reported by sam.hasler on 2014-11-26 12:45:13