Search code examples
eclipsekeyboard-shortcutseclipse-cdt

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


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.


Solution

  • Ctrl + Tab.

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