rg is great, I use it a lot. Recently I have also used [ambr]( https://github.com/dalance/amber ) which can do both search (ambs) and replace (ambr) recursively in your codebase. The only problem as of yet is that it does not support globbing so I cannot filter on certain filetypes only.
Ripgrep 14 Released
11–20 of 73 posts
Re: Ripgrep 14 Released
#12The notes state that the headline feature is "hyperlink support". However, the notes don't seem to really explain what that means. Can someone explain a bit more about what that feature does/is? What's a use case?
Re: Ripgrep 14 Released
#13The notes state that the headline feature is "hyperlink support". However, the notes don't seem to really explain what that means. Can someone explain a bit more about what that feature does/is? What's a use case?
See here for more info: https://github.com/Alhadis/OSC8-Adoption/
Re: Ripgrep 14 Released
#14What's the improvement this time? Translate DFAs to microcode?
Re: Ripgrep 14 Released
#15The notes state that the headline feature is "hyperlink support". However, the notes don't seem to really explain what that means. Can someone explain a bit more about what that feature does/is? What's a use case?
mydir/myfile.java
15: return foo;
78: System.out.println(foo);
123: // TODO: change foo to bar
Hyperlink support means that the line numbers (15, 78, 123) are clickable, and will open your favorite editor to that file and that line number.That's if your terminal supports hyperlinks, or has hyperlink support enabled - most do. Depending on the terminal app it might be control/cmd click, or option-click to open the hyperlink.
Note (this got me while trying): hyperlinks are not emitted when you search inside a specific file directly, e.g. "rg foo myfile.py".
Re: Ripgrep 14 Released
#16If you are an Emacs user like me, you must try out the consult-ripgrep command from the peerless Consult [1] package by Daniel Mendler: search your whole project with ripgrep and get a live preview of every matching candidate all inside of Emacs! [1]: https://github.com/minad/consult
Re: Ripgrep 14 Released
#17rg is great, I use it a lot. Recently I have also used [ambr]( https://github.com/dalance/amber ) which can do both search (ambs) and replace (ambr) recursively in your codebase. The only problem as of yet is that it does not support globbing so I cannot filter on certain filetypes only.
Re: Ripgrep 14 Released
#18The notes state that the headline feature is "hyperlink support". However, the notes don't seem to really explain what that means. Can someone explain a bit more about what that feature does/is? What's a use case?
Re: Ripgrep 14 Released
#19Re: Ripgrep 14 Released
#20The notes state that the headline feature is "hyperlink support". However, the notes don't seem to really explain what that means. Can someone explain a bit more about what that feature does/is? What's a use case?
So, when you search for "foo" in mydir/, rg can find the term foo inside different places in a number of files, and then print the results like: mydir/myfile.java 15: return foo; 78: System.out.println(foo); 123: // TODO: change foo to bar Hyperlink support means that the line numbers (15, 78, 123) are clickable, and will open your favorite editor to that file and that line number. That's if your terminal supports hy…