views:

196

answers:

2

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?

+1  A: 

You are lucky, there is a shortcut: Try Ctrl + TAB

chrmue
+2  A: 

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

Doesn't seem to work for me, and "Toggle Source/Header" is not one of the options in the keys dialog :( I think my Eclipse installation is broken..
Joel
What version are you using? Are you sure CDT is installed?
Yep - My eclipse is very very broken. Turns out an update failed and I can't revert. Time to nuke it and reinstall.
Joel