I am trying to use Atom and ctags to navigate a very large C project. I am running on Windows.
The project is hosted in svn so I have simply opened the root folder of the project in Atom.
I read the advice for using ctags in the Getting Started section of the documentation:
To jump to a symbol such as a method definition, press cmd-r . This opens a list of all symbols in the current file, which you can fuzzy filter similarly to cmd-t .
To search for symbols across your project, use cmd-shift-r . First you’ll need to make sure you have tags (or TAGS ) file generated for your project. This can be done by installing ctags and running a command such as ctags -R src/ from the command line in your project’s root directory. Using Homebrew? Just run brew install ctags .
I also generated a tags file in the root of the project as follows:
“\Program Files (x86)\ctags58\ctags” -R
This created a tags file of around 58MB.
Now in Atom, if I open a C file, put the cursor on a locally defined symbol and press CTRL-r I see:
No symbols found
Any idea why that is not working please?
I assume that that local search would not use ctags.
Now, considering ctags, I assume that to jump to a declaration in another file I use CTRL-SHIFT-r. But, for my understanding, will Atom automatically look for a tags file in the project root or must I tell it to do so?
(I have installed atom-ctags but I’m not sure exactly what that does).