开发者

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

开发者 https://www.devze.com 2023-03-13 04:46 出处:网络
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 us开发者_C百科ing alt+o,

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 us开发者_C百科ing alt+o,

Can I do it in Eclipse CDT?

Many thanks!


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消