no bullshit code explorer
TL;DR: use ctags
for code exploration tasks, more useable than grep
and less
bullshit than lsp
C syntax is pretty tricky
if you want to for example grep
a function’s definition. A grep regex is
pretty hopeless, a lsp is too heavy, cscope
is unmaintained.
use it with e.g.
- you need
universisal-ctags
- you can modify parameters for ctags, and/or use it for other programming
languages … checkout
man ctags
- you can apply more grep reverse matching to the pipeline to exclude unwanted patterns
awk
is there is for pretty prints, e.g.name type file:line