Skip to main content
6 votes

GNU Global + ggtags and helm + helm+gtags

Hope this clears up the confusion .. Non-emacs software GNU Global (gtags + global executables) - A software for generating tags, like Universal ctags. I actually use gtags for binary database ...
Kaushal Modi's user avatar
  • 25.7k
3 votes
Accepted

Using ggtags tag lookup along with centered-cursor-mode

This worked. (add-hook 'ggtags-find-tag-hook #'ccm-position-cursor)
SFbay007's user avatar
  • 584
2 votes

Company duplicates

Depending on what causes the duplicates, you might be talking about https://github.com/company-mode/company-mode/issues/413, https://github.com/company-mode/company-mode/issues/285 (which are actual ...
Dmitry's user avatar
  • 3,803
2 votes
Accepted

what is the difference between gtags-mode and ggtags-mode

IIRC gtags-mode ships as part of GNU Global and gives a basic set of commands and key bindings for using Global. ggtags does much the same thing but is a much more comprehensive package with way more ...
stevoooo's user avatar
  • 747
2 votes

How to find where a given function is called from in gtags

That would be ggtags-find-reference, bound by default to M-]. Also, using the "standard" ggtags-find-tag-dwim (M-.) on a function's prototype should show you its call sites.
Valentin Schneider's user avatar
2 votes
Accepted

Use lsp-mode for some projects and ggtags for others

Yes, you want to use .dir-locals.el and assuming the enable/disable commands you need are functions, its pseudo-variable eval. If you have lsp-mode globally enabled, add something like this to the ....
nega's user avatar
  • 3,276
1 vote

How do you get gtags working with Lua?

I was able to generate the tags running gtags --gtagslabel=ctags from the root of the project, using a configuration from ubuntu (zcat /usr/share/doc/global/examples/gtags.conf.gz > ~/.globalrc). ...
Sebastián's user avatar
1 vote

helm-gtags doesn't reflect the latest code change

You need to execute helm-gtags-update-tags to update the tag files. Quote README: Update TAG file. Default is update only current file, You can update all files with C-u prefix.
whatacold's user avatar
  • 880
1 vote

M-* interpreted as M-8

Found what what it was, I have two languages installed. By default language is changed with alt+shift, this coincide with emacs's M-* To set language change to use only left alt+left shift in ...
dafnahaktana's user avatar
1 vote

Jump to definition of function or class in one of the include files?

The following code demonstrates the direct use of semantic for jumping to tags. Make sure you configured semantic-c-dependency-system-include-path right. The following code displays the tag in ...
Tobias's user avatar
  • 33.3k
1 vote
Accepted

Smarter company/auto-complete

Regarding argument expansion, you should file a feature request at company-jedi (or company-anaconda!). And about files generated by gtags, I don't think you want that. You'll have to teach every ...
Dmitry's user avatar
  • 3,803
1 vote

Completion for variables in C using company-gtags, or not Semantic

I have followed the directions at this blog which supplements the C ide stuff by Tudho to install rtags and irony (as suggested by Dmitry) and it provides the features I asked for. I'll expand with a ...
Alejandro Erickson's user avatar
1 vote

Include vendor's tags for ruby-mode and ggtags

Here's how to use global installed from a Ubuntu repository. The version I've had in 6.6.3-2. First, copy the example config to your home directory. A commentary at its top makes it seem like this is ...
Dmitry's user avatar
  • 3,803

Only top scored, non community-wiki answers of a minimum length are eligible