Usage of GNU global and htags [tl;dr]
global
$ cd <src>
$ gtags -v # generate index
$ global -x <symbol> # find symbol definition
$ global -r <symbol> # find use of the symbol
htags-server
$ cd <src>
$ gtags -v
$ htags --suggest2
$ htags-server & # hosted on 127.0.0.1:8000 by default
the page is not very responsive
update:2021-9-21
Tried to prepare site with htags -DfFnva
, resulted in a responsive site.
References
https://man.archlinux.org/man/global.1
https://manpages.debian.org/unstable/global/htags.1.en.html
May 19, 2021