Other than using Emacs / Vim with ctags or cscope or both, are there alternatives to C++ code navigation of an existing code base? I used to use Source Insight on Windows and it worked for me fairly well. The main functionality I am looking for is quickly find definition of macros, variables and functions and places a function is referenced.
closed as off-topic by MetaFight, gnat, Scant Roger, Ixrec, GlenH7 Jan 4 at 16:57
This question appears to be off-topic. The users who voted to close gave this specific reason:
In XCode, which comes with the OS, you have the "Jump to Definition" function, which I usually assign to Cmd-F1 (VC has some similar shortcut if I remember correctly). You will have to create an XCode project for your code base though. I don't know if there are any automatic converters, say, from Makefile to XCode project.
Most of the time Jump to Definition works fine, except when the name of your .cpp module differs from the .h header name; also doesn't work for overloaded operators. There are some intermittent failures that I can't explain, but overall, on simple and straightforward C++ code it can do the job OK.
P.S. there is no such thing like find references in XCode, but you have a project-wide Find function with an option to look for "Symbols", which I think is almost exact equivalent of finding references.