简体   繁体   中英

How to update c++ tags automatically in Atom

I am trying to use atom editor for my opengl project. I used ctags to generate indexes for my local project, but I was looking for something that can automatically update indexes while I am coding. In case, if there isn't any plug-in for atom to automatically updates indexes, Is there a way to load all the ctags for all my libraries globally? so that I can have autocompletion when I type std:: without having a local copy of my all tags in my project

You can use symbol-gen package to generate ctags symbols file for your project (based on the .ctags option file).

You can install it from Atom Package Manager by: apm install symbol-gen .

Also make sure that symbols-view package is enabled by: apm enable symbols-view .

Then hit CMD - Alt - G (on macOS) to generate tags file for your project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM