Finding where varables have been declared in what file?

Posted by robUK on Stack Overflow See other posts from Stack Overflow or by robUK
Published on 2010-05-04T07:02:53Z Indexed on 2010/05/04 7:08 UTC
Read the original article Hit count: 148

Filed under:

Hello,

GNU Emacs 23.1.1

I am maintaining someones code. There are many files and directories for the headers and source files.

I am wondering if there is a easy way to use emacs that when I highlight a variable name I can go straight to where it is declared?

Some of the structures I am working in are declared in other header files, rather than go searching for them, I just want to be taken straight to them.

Many thanks for any suggestions,

© Stack Overflow or respective owner

Related posts about emacs