连接来自不同目录的TAGS文件的内容

时间:2012-06-16 09:50:13

标签: emacs etag

我指的是由ctags或etags生成的TAGS文件,以便在Emacs中使用 M - 。进行一些代码导航。

典型项目如下所示:

  • 大型标准库(超过100个文件,但很少更新)。

  • 项目特定的图书馆(每日更新)。

我希望该项目能够使用两个(或者更多TAGS文件),但只重新生成它们的一部分,只重新生成特定项目中使用的部分。我该如何处理这个问题?

1 个答案:

答案 0 :(得分:4)

etags --help

-i FILE, --include=FILE
     Include a note in tag file indicating that, when searching for
     a tag, one should also consult the tags file FILE after
     checking the current file.