sxingfeng
sxingfeng

Reputation: 1087

Is there any shortcut key to switch between .cc and .h in Eclipse CDT?

Is there any shortcut key to switch between .cc and .h in Eclipse CDT?

I was using visual stdio , I can switch between .cc and .h using alt+o,

Can I do it in Eclipse CDT?

Many thanks!

Upvotes: 2

Views: 308

Answers (2)

Alok Save
Alok Save

Reputation: 206586

Ctrl+Tab is the default shortcut in eclipse for switching the editor view from viewing a .cpp file to a corresponding .h file, and vice versa.

YES, You can change it to alt+o

In Window->Preferences->General->Keys - Toggle Source/Header

Upvotes: 5

Daniel
Daniel

Reputation: 438

Pressing Ctrl-Tab while in a .c/.h file works for me. But not sure if it is a thing from the CDT plugin to eclipse.

Upvotes: 1

Related Questions