简体   繁体   中英

navigation in c++ program using CEDET in emacs

I want to use emacs for more efficient c++ programming. However, I'm a beginner in using this editor. I started with CEDET. Now I have a simple question concerning jumping to function definitions:

Eg, when I include fstream header an use the function "void open(...)" I can place the cursor on this function and get the correct info about the location and usage of "open()". Now, what do I have to do (eg concerning the tag-ing) to use "navigate" to jump to the file containing the definition of "open"?

Thank you for your help!

If you want to be able to jump from a function invocation to the definition of that function, you're probably thinking of the tags functionality. Have you looked at the EmacsWiki page about etags to see if that's what you're after? There's also more information in emacs manual section about tags .

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