gnu-global

GNU Global and GTAGS can't find class definitions

社会主义新天地 提交于 2020-01-22 12:40:06
问题 I'm having trouble getting global to find class/struct definitions. I can find them with exuberant ctags and with cscope. All tag files are built from the same source file list. I configured and built global, et.al., only specifying --prefix. configure did find exhuberant and is using it. I've been trying global periodically over the years and it's always had this problem. Any ideas? thanks, davep 回答1: Just export this variable and that should pretty much do. From the man page for gtags -

Tags for Emacs: Relationship between etags, ebrowse, cscope, GNU Global and exuberant ctags

ぃ、小莉子 提交于 2019-12-29 10:07:07
问题 I work on C++ projects, and I went through Alex Ott's guide to CEDET and other threads about tags in StackOverflow, but I am still confused about how Emacs interfaces with these different tag systems to facilitate autocompletion, the looking up of definitions, navigation of source code base or the previewing of doc-strings. What is the difference (e.g. in terms of features) between etags , ebrowse , exuberant ctags, cscope, GNU Global and GTags? What do I need to do to use them in Emacs ? Do

How to use gtags -v to create index but skipping some subdirectories

拟墨画扇 提交于 2019-12-24 03:22:33
问题 I am trying to run 'gtags -v' to build index for my large code base. from this link: Emacs as an IDE for large C++ projects My question is how can I tell gtags to skip walk into some directories (not necessary top level) "e.g. 'out', '.git', 'tools'? Thank you. 回答1: I believe you can skip certain filetypes and directories with the --exclude argument. --exclude=*.txt,*.html Edit: It seems my answer works for ctags, but may not exist in gtags any more. Please see this page for a possible

Tags for Emacs: Relationship between etags, ebrowse, cscope, GNU Global and exuberant ctags

喜夏-厌秋 提交于 2019-11-29 19:03:14
I work on C++ projects, and I went through Alex Ott's guide to CEDET and other threads about tags in StackOverflow, but I am still confused about how Emacs interfaces with these different tag systems to facilitate autocompletion, the looking up of definitions, navigation of source code base or the previewing of doc-strings. What is the difference (e.g. in terms of features) between etags , ebrowse , exuberant ctags , cscope , GNU Global and GTags ? What do I need to do to use them in Emacs ? Do I need semantic/senator (CEDET) if I want to use tags to navigate/autocomplete symbols? What does