Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.28 KB

README.md

File metadata and controls

35 lines (26 loc) · 1.28 KB

Atom editor cscope package

Dependency status Build status JavaScript Style Guide

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.

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.