【发布时间】:2016-02-11 06:07:54
【问题描述】:
我之前使用过 cscope 和 ctags 共同帮助浏览 C 代码。
现在使用 C++ 代码,我尝试使用它们来帮助浏览代码。这就是 cscope 和 ctags 数据库的构建方式:
$ find . -name '*.cc' -o -name '*.h' > cscope.files
$ cscope -b
$ ctags -L cscope.files
调用 cscope:
$ cscope -d
一旦我在 cscope 中搜索一个符号并打开相关文件,我就无法使用 .错误是:
E433: No tags file
E426: tag not found: Parser
Press ENTER or type command to continue
有什么问题吗?
谢谢!
【问题讨论】:
-
你使用哪个编辑器?