Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 ECB 上工作了一小段时间——突然 ECB 开始问我要打开哪个标签文件。我不知道它在说什么——我的源代码通常很小......所以我认为没有这些标签文件我会很高兴。我怎样才能打开这个标签文件提示?
下面解决了这个问题:
(setq tags-file-name (expand-file-name "~/its/dbes/etgs/TAGS"))
因此,emacs 不再询问标记文件。
仅标记给定的文件集(例如库)可能很有用。为此 - 删除~/.emacs.d/semanticdb目录,然后关闭
~/.emacs.d/semanticdb
(setq global-semanticdb-minor-mode nil)
然后应该打开想要标记的库,然后调用
(semantic-force-refresh)
(默认键C-c , ,)
C-c , ,