Skip to content

Instantly share code, notes, and snippets.

@alexshagov
Last active June 27, 2020 08:49
Show Gist options
  • Save alexshagov/0c4a2cec3e4e913643739e0736228398 to your computer and use it in GitHub Desktop.
Save alexshagov/0c4a2cec3e4e913643739e0736228398 to your computer and use it in GitHub Desktop.
How to generate gtags for Ruby project

How to generate gtags for Ruby project

generate gtags.files list consisting only from .rb files

find . -name "*.rb" > gtags.files

generate *TAGS files

gtags --gtagslabel=new-ctags

(ToDo: in emacs you should always reload ggtags if opening a new file)

M-x ggtags-reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment