navigating codebase with ctags
CTags
I have using vim as my editor for a while now, and use it along with ripgrep, cat, and fdfind. This allows me to study large codebases quickly.
But I have discovered a new tool to use along with vim CTags. It allows you to build indexes of function names, variables for various languages of which are supported in many IDEs, but with CTags it enables it for VIM.
all you need to do is run the commands on a unix system, but before install universal ctags
sirecmg@localhost:~/Projects/bitcoin> sudo zypper search ctags
[sudo] password for root:
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
---+-----------------+--------------------------------------------------------------------+--------
i | ctags | A Program to Generate Tag Files for Use with vi and Other Editors | package
| schily-ctags | A program to generate tag files for ex/vi | package
| universal-ctags | A program to generate language tag files used with various editors | package
sudo zypper install universal-ctags
ctags -R --languages=C++ --kinds-C++=* src