Navigate through sources with
cscope
database
It is based on atom-cscope
atom package by Amitabh Das.
It uses etch
to implement user interface,
it is rewritten in JavaScript and it implements history correctly.
- Install
cscope
. - Generate cscope database in each project directory that should be searched:
find . -name "*.c" -o -name "*.h" > cscope.files
cscope -qRb -i cscope.files
- In the linux kernel sources root directory just call
make cscope
- Press ctrl-shift-" to go to the definition of the symbol under cursor or the selected text.
- Press ctrl-shift-. to open
cscope
menu. - The module tracks the history of the visited symbols. Use ctrl-shift-[ and ctrl-shift-] to go back and forth.