Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse C++: How do you quickly switch between header and implementation files?

How do you switch between header (.h) and implementation files (.cpp) in Eclipse when using the C++/CDT environment with a keyboard shortcut?

In XCode you can quickly switch between headers and implementation with applekey option and up/down arrow keys. I was hoping that eclipse had something similar, but I haven't found it yet.

like image 320
xmr Avatar asked Nov 04 '09 11:11

xmr


People also ask

How do I switch to console in Eclipse?

In Eclipse (I'm using version 3.6 aka Helios), you can use Alt + Command + Q C (on Mac OS X or Alt + Shift + Q C on Windows/Linux) to give focus to the Console View. Ok. That's good.

How do I change shortcut Keys in Eclipse?

Display and Edit the Current Keyboard Shortcuts To see the current key configuration and its keyboard shortcuts, choose the Eclipse > Preferences menu command to open the Eclipse workbench Preferences. Select the General > Editor > Keys page.

How do I skip to the end of a line in Eclipse?

End key to move on end of the line, Home key to move on beggining of line. Same for NetBeans and IntellijIDEA.


Video Answer


1 Answers

Ctrl + Tab.

See in menu Window --> Preferences --> "General" category (far left) --> Keys --> "Toggle Source/Header"

like image 183
Marcin Gil Avatar answered Oct 10 '22 10:10

Marcin Gil