Repository navigation
Grep and RG optimizations. #4633
rdwr-itayb
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
hi all,
i recently started to work with rtk and i noticed the following inefficiencies:
in both rg and grep you see at the start of every line the name of the file with it's full path.
sometimes you will find dozens or more search results of the same file, leading to needlesly writing the file and it's path many times.
i would suggest to optimize it and write the file name once
path1/path2/path2/filename1:
line1: line context
line 2: line context
.
line n: line context
path1/path2/path3/filename2:
etc.
thanks.
All reactions