I am a big fan of ctags Hence I am wondering if I have cscope, will I benefit more there two programs. Seems like the latter has the same features as ctags, namely, facilitating the finding of symbols.
What are the features scope offers that can further increase my productivity with VIM?
Thanks
cscope, ctags, and Vim are powerful tools for reading a lot of code. ctags can be used to take you to the definition of a variable (e.g., a function, variable, or macro). cscope can be used to take you to the call site of a definition (e.g., all function calls, all variable uses, all macro uses).
cscope is an interactive, screen-oriented tool that allows the user to browse through C source files for specified elements of code.
cscope
can certainly improve your productivity.
ctags
only allows you to navigate to the declaration of a symbol (one-way lookup).
cscope
allows you to:
Tutorials:
Related SO questions:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With