Eclipse C++: How do you quickly switch between header and implementation files?

xmr picture xmr · Nov 4, 2009 · Viewed 17.4k times · Source

How do you switch between header (.h) and implementation files (.cpp) in Eclipse when using the C++/CDT environment with a keyboard shortcut?

In XCode you can quickly switch between headers and implementation with applekey option and up/down arrow keys. I was hoping that eclipse had something similar, but I haven't found it yet.

Answer

Marcin Gil picture Marcin Gil · Nov 4, 2009

Ctrl + Tab.

See in menu Window --> Preferences --> "General" category (far left) --> Keys --> "Toggle Source/Header"