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 ctags -R
|
|
来自: langhuayipian > 《linux commd》