Atom editor cscope package
Navigate through sources with cscope
database.
Based on atom-cscope
atom package by Amitabh Das.
Usage
- 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.