How to automatically update C ++ tags in Atom
I am trying to use atom editor for my opengl project. I have used ctags to generate indexes for my local project, but I was looking for something that can automatically update indexes during coding. In case there is no atom plugin to automatically update indexes, is there a way to load all ctags for all my libraries around the world? so that I can have autocomplete when I enter std :: without a local copy of all my tags in my project
source to share
You can use symbol-gen
package to create a ctags symbol file for your project (based on the .ctags
options file).
You can install it from the Atom Package Manager: apm install symbol-gen
.
Also make sure that the symbols-view
package included: apm enable symbols-view
.
Then press CMD- Alt- G(on macOS) to create a tags file for your project.
source to share