线程https://www.reddit.com/r/emacs/comments/1qktcb/cscope_like_functionality_that_correctly_handles/中列出了一些通行费:
clang-tag find-def) /转到用法(clang-tag grep)。vim-clang-tags可用于列出所有用法(:ClangTagsGrep命令);也有emacs插件./bin/rdm守护程序)-具有“跟随符号”和“查找参考”。与emacs的网关- "rtags.el"; Vim有两个项目:https : //github.com/lyuts/vim-rtags(对rtags的丰富支持)和https://github.com/shaneharper/vim-rtags(仅2个命令)都带有“查找参考” ”和“查找定义”功能其他一些链接
而且还有一些快速的(索引式)抓手,例如Russ Cox的代码搜索工具(它也可与regex一起使用-https: //github.com/google/codesearch;示例为https://codesearch.debian.net/about)或任何其他其他索引的grep ...
还有像LXR和其他类似的交叉引用工具(GUI和Web服务器)... https://github.com/oracle/opengrok/wiki/Comparison-with-Similar-Tools
Vim 可以开箱即用地直接与 cscope 连接。类型:h cscope。这需要在编译 Vim 时启用 cscope 功能并将 cscope 安装到您的计算机上。
cscope 网页上有一个Vim + cscope 教程。