分享

ubuntu12.04下cskope vim ctags

 langhuayipian 2012-11-13
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

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多