leoliu / ggtags

Emacs frontend to GNU Global source code tagging system.
http://elpa.gnu.org
575 stars 57 forks source link

ggtags with gogtags #195

Open mezeipetister opened 4 years ago

mezeipetister commented 4 years ago

Hi, could you help me with the following "issue"?:

I want to use HelmGtags and GGtags for Go development. I installed gogtags (https://github.com/juntaki/gogtags), and it works basically: I can generate GTAGS, GNU GLOBAL works, HelmGtags works.

But ggtags seem to use the gtags command, and I cannot figure it out how to use it with gogtags command instead (to generate the golang gtags using gogtags).

Do you have any idea what I am missing?

leoliu commented 4 years ago

Hi @mezeipetister,

There is this variable ggtags-executable-directory that you can customise. The command name is hard-coded so you may need to use a symlink or just rename gogtags to gtags.

yanglimingcn commented 4 years ago

Can I configure gtags.conf to use gogtags backend?

leoliu commented 4 years ago

@yanglimingcn You could request the global project to add it if not already possible.