3 ms·
For dev work, I still prefer cscope for searching for things, at least in all supported languages. cscope is _fantastic_. Combined with a $CSCOPE_EDITOR that
by cryptonector 9y ago
For dev work, I still prefer cscope for searching for things, at least in all supported languages. cscope is _fantastic_. Combined with a $CSCOPE_EDITOR that does the right thing (for me: open $EDITOR in the background in a new tmux window titled after the file being edited, returning control to cscope for additional searches / opens).
What's really good about cscope is this:
- multiple search types such as: where is this symbol assigned to, what functions call this function, where is this defined, where is this referenced, and so on
- curses and CLI interface
- the curses interface is very nice
- the CLI interface is very useful for integration into your $EDITOR, whatever it might be
The only downside is that cscope only supports C-like languages and a few others like yacc. So this works for C, C++, and Java (to a lesser extent), but does not work at all for languages like, say, Python.