1: 安装cscope 和ctags
sudo apt-get install kscope
注:kscope不太好用了在12.04中
设置vimrc
if has("cscope")
set csprg=/usr/bin/cscope
set csto=1
set cst
set nocsverb
if filereadable("cscope.out")
cs add cscope.out
endif
set csverb
endif
3:回到项目目录中
find . -type f > cscope.files
cscope -Rbkq
ctags -R
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。