c++emacsctagsetags

Using ETAGS/CTAGS in emacs with C++ Project


Im using emacs and etags to navigate my way round a project, is it possible to get to a header file easily by searching for a function. I have been using VisualStudio and I can view it by clicking goto declaration is there a similar way using etags in emacs?

e.g.

ArchiveDialog::onKeyPress()

search for the declaration of onkeypress that will be in the header file of ArchiveDialog (#include at the top of the source file).

at the moment when im using etags "M-. onKeyPress" will just find the tags in cpp files and not my header files.

Any help would be appreciated Thanks


Solution

  • Semantic from CEDET should provide corresponding functionality... Please, look onto this section and into "Semantic User's Guide" for more details...