4 ms·
Lots of good comments here, but I didn't see a code search tool recommended while skimming. I use this one: https://github.com/ggreer/the_silver_searcher https
by ioddly 8y ago
Lots of good comments here, but I didn't see a code search tool recommended while skimming.
I use this one: https://github.com/ggreer/the_silver_searcher https://github.com/ggreer/the_silver_searcher
But the important thing is to be comfortable popping open the console and using it. Makes it so much easier to "research" a particular part of code quickly.
- Jach 8y agoI just linked ag too, then decided to skim the comments again since it's grown to >100 and saw yours... Someone did mention OpenGrok, my company supports it but I find it less useful than ag because it's on the web and (due to company policy) gated behind another layer of authentication despite my browser being SSO'd... For monstrous code bases it's also prudent to ag on an SSD or at least make sure there's enough RAM to have most files in cache. Another simple CLI tool I like to use is tree. (https://linux.die.net/man/1/tree https://linux.die.net/man/1/tree) Seeing the full project layout, with everything expanded, is occasionally extremely useful.