I was wondering, in real world projects and open source projects they often code the project with out an IDE use a custom build script and they probably use emacs or VIM, I was wondering how do they often traverse and search those projects for certain functions and methods and etc, are they just using grep to search through all the project files if they don’t understand where a certain preprocessor directive or function is from? They must have an efficient way to do all that searching does anyone here know? Personally use Emacs so if anyone can give me the right direction to move in for these tasks.
Share
For C/C++ I can recommend to use GNU Global (gtags) + CEDET. GTags provides better (IMHO) navigation than CTags, and CEDET’s Semantic can use GTag’s databases for navigation & for find-where-is-used functionality. See my article about CEDET for more information on setup. (article was written for CEDET 1.1 & previous versions. For fresh versions (and for bundled with GNU Emacs), you can use following config.)
I personally use this setup for work with big C++ projects (several millions lines of code).