安装基础插件
c/c++, c/c++ Extension Pack, find all reference
安装gun globals
参考链接:
让VSCode支持 "Find all reference":https://blog.csdn.net/Empkin/article/details/84369755
gtags安装:https://blog.csdn.net/danxibaoxxx/article/details/81289651
从官网下载gtags的源码包: https://www.gnu.org/software/global/download.html,global-6.6.4.tar.gz
,编译安装
yum install ncurses-devel ncurses -y
sh reconf.sh
./configure
make
在源码的根目录下敲gtags,会生成三个文件,GPATH, GRTAGS, GTAGS,然后就能够正常完成函数跳转和find all reference
网友评论