Ctags
From Attie's Wiki
Install
apt-get install ctags cscope
Index your source!
#!/bin/bash -eu echo "Running ctags..." ctags -R --c-kinds=-m --c++-kinds=-m echo "Running cscope..." cscope -Rb echo "Done!"