Hacker Newsnew | past | comments | ask | show | jobs | submit | tomschafer's commentslogin

I haven't been able to find a faster way to find and replace across a large repo, while respecting ignore files, than Scooter in `--no-tui` mode. If you know of a quicker way, let me know!


This should only happen if you hit enter on the confirmation screen - was it not clear that this would happen? I'd rather not slow users down by making them confirm that they definitely want to perform the replacement, but I'm happy to hear about other ways to make it clear that a replacement is going to be performed


It uses https://docs.rs/ignore/latest/ignore/ to walk dirs while respecting ignore files


(And `ignore` uses `walkdir` internally)


For single threaded use cases. For multi-threaded, it has its own parallel directory traversal. :-)


Not affiliated, I just built a little tool to make my life easier and thought I'd share


It's great and clearly the community appreciates it! I'll put Show HN in the title since that's the convention for sharing one's projects on HN (https://news.ycombinator.com/showhn.html).

Btw, do you want to include some text giving the backstory of how you came to work on this, and explaining what's different about it? that's also the convention. If you post it in a reply to this comment, I'll move your text to the top of the thread.


I think it's cool. Thanks for sharing


I use Helix, which doesn't have find and replace built in!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: