下载cscope,解压后执行
./configure
make
make install
安装cscope-indexer
sudo apt-get install cscope
修改/usr/bin/cscope-indexer(大概在141行)
egrep -i '\.([chly](xx|pp)*|cc|hh|x|php|sh|inc)$' | \
查找函数定义C-c s d,查找函数很快。
本文详细介绍如何下载、安装及配置Cscope与cscope-indexer,以实现快速查找函数定义的功能。通过步骤化的指导,帮助读者理解并掌握Cscope的使用方法。
下载cscope,解压后执行
./configure
make
make install
安装cscope-indexer
sudo apt-get install cscope
修改/usr/bin/cscope-indexer(大概在141行)
egrep -i '\.([chly](xx|pp)*|cc|hh|x|php|sh|inc)$' | \
查找函数定义C-c s d,查找函数很快。

被折叠的 条评论
为什么被折叠?