【问题标题】:Synergy between ctags and cscopectags 和 cscope 之间的协同作用
【发布时间】: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

有什么问题吗?

谢谢!

【问题讨论】:

  • 你使用哪个编辑器?

标签: c++ ctags cscope


【解决方案1】:

查看 .vimrc 文件,我发现一个指向无效位置的标记条目。删除该条目解决了问题。

谢谢!

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-11-08
    • 2011-02-27
    • 1970-01-01
    • 1970-01-01
    • 2019-10-16
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多