As we know , the SourceInsight is convenient to look up C/C++ source code on windows.
The eclipse is a good choice for java code .
I want to study the android source code ,but there isn’t a convenient tool to look up the C/C++ code . When I analyze the invoking relationships of C/C++ code by simple text editor, it makes me a headache !
For example, I want to know the definition of method getService() which invoked in frameworks/base/libs/ui/Camera.cpp
binder = sm->getService(String16("media.camera"));
I will waste a large amount of time to find the invoking relationships.
But when I want to know the definition of java code by eclipse,like method onCreate() in packages/apps/Camera/src/com/android/camera/Camera.java , only one step is OK.
How would I look up C/C++ source code in Ubuntu Linux more conveniently and efficiently ?
Use ctags if you are using vi, or etags for emacs.
There is also cscope, which I was very impressed with when I used it many years ago.