Joel
Joel

Reputation: 11871

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?

Upvotes: 13

Views: 6508

Answers (2)

chrmue
chrmue

Reputation: 1612

There is a shortcut: Try Ctrl + TAB

Upvotes: 5

Ionut Anghelcovici
Ionut Anghelcovici

Reputation:

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

Upvotes: 20

Related Questions