tags:

views:

160

answers:

2

If I come across something like #include "somewhere/myheader.h" can I automatically jump to that header somehow? (Similar to how gtags works?)

+2  A: 

call (ffap-bindings) in your ~/.emacs. That will bind C-x C-f to find-file-at-point.

Then place the cursor on the include line (inside the file-path) and press C-x C-f

xxxxxx
+1  A: 

With CEDET (a standalone package for now; will be a part of Emacs 23.2) you get the command semantic-decoration-include-visit which does what you want.

Laurynas Biveinis