| 1. learn a good editor. 2. write a script to concatenate all the code files in a folder, separated by filenames. 3. pipe that result to your editor. 4. use your editor's "find" functionality. By reading the entire source code in a single file, you have global knowledge of the entire codebase. All the information is available to you. I suggest you try it before dismissing the idea, as I once did. https://github.com/shawwn/scrap is what I use. `codefiles | grep js$ | xargs merge | ft js` will open all javascript codefiles in vim, in JS mode. `cppfiles | xargs merge | ft cpp` will open all C++ files in vim, in C++ mode. Free yourself from the loop of asking other people for answers. Stop that. Read code. If you limit yourself to "projects that have good documentation," you'll miss out on 90% of the interesting code in the world. |
Reading all the code might be a decent approach for small libraries but sometimes it's excessive.