3 ms·
I'll add two really simple, but also very effective tools. Search: in the form of things like "the silver searcher" (https://github.com/ggreer/the_silver_search
by catears 6y ago
I'll add two really simple, but also very effective tools. Search: in the form of things like "the silver searcher" (https://github.com/ggreer/the_silver_searcher https://github.com/ggreer/the_silver_searcher) or "fd" (https://github.com/sharkdp/fd https://github.com/sharkdp/fd). And, Replace: with tools like sed (https://www.gnu.org/software/sed/ https://www.gnu.org/software/sed/).
These are really simple tools but they are also very powerful. I have surprisingly often needed to change from version X.Y.Z to version A.B.C in some set of files (be it package.json or requirements.txt or *.csproj) and tools like these make it happen in an instant.
Most recently they have helped me with some spaghetti code where the software is used in several places and I need to ensure exactly which places use the KerfuffleManager. Can I trust my IDE to find all places where it is used? Maybe, but with proper search tools it stops being a trust thing.
- lucianbr 6y agoIn the same vein as silver searcher, I'd mention ripgrep: https://github.com/BurntSushi/ripgrep https://github.com/BurntSushi/ripgrep