Search code examples
c++eclipse-cdt

Eclipse CDT: Shortcut to switch between .h and .cpp?


In Eclipse, is there a keyboard shortcut for switching the editor view from viewing a .cpp file to a corresponding .h file, and vice versa?


Solution

  • Ctrl+Tab is the default shortcut.
    You can change it in Window → Preferences → General → Keys: Toggle Source/Header