Make hyperlinks to lines in files of grep output
Sometimes I use grep
in the PyCharm terminal, since PyCharm search does not suit my needs.
Is there a way to make the output of grep in a way that PyCharm creates hyperlinks to the found lines, so that I can go to the line via a click on the link?
find abc/ -name '*.py' -mtime -3 |xargs grep -P 'assign.*date'
abc/institution.py: assignment = slot.assignment.order_by('-date')[0]
abc/apl/views.py: already_sent_qs = qs.filter(assignment__date...
abc/apl/views.py: obj.assignment.all().update(info_mail_sent_date...
Example: I want to go to the first match:
assignment = slot.assignment.order_by('-date')[0]
in file abc/admin/institution.py
Solution 1:
Looks like this is a highly requested feature in this ticket, started 6 years ago. Comments from jetbrains developers suggest when they do make the update it would be available for all tools.
If you have a team with paid licenses I'd suggest voting on tickets you'd like to see