Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse: Keyboard shortcut for switching between consoles?

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.

My problem is that in order to switch between consoles inside that view you have to click the ridiculously small arrow next to the 'Display Selected Console' icon. See:

alt text

I find that quite annoying because I'm totally keyboard oriented and that is practically the only thing for which I have to use the mouse when in Eclipse. I'm frequently launching several Run Configurations at once, and every one opens a new Console. It is annoying trying to click that little arrow in order to 1) See what consoles are open and 2) switching between them. =(

Is there any keyboard friendly way of switching between opened consoles within the Console View?

like image 927
Sergio Acosta Avatar asked Jul 24 '10 06:07

Sergio Acosta


People also ask

What is Ctrl Shift R in Eclipse?

File Navigation – Eclipse Shortcuts CTRL SHIFT R – Open a resource. You need not know the path and just part of the file name is enough. CTRL E – Open a file (editor) from within the list of all open files. CTRL PAGE UP or PAGE DOWN – Navigate to previous or next file from within the list of all open files.

What does Ctrl shift t do in Eclipse?

Switching between Open Editors Ctrl + Page Up and Ctrl + Page Down—Navigate to previous or next file from the list of open files. Ctrl + Shift + T—Display a list of classes from the workspace. Ctrl + Shift + R—Display a list of resources from the workspace.

What is the shortcut for console?

Pressing CTRL + SHIFT + L will output the console snippet. Also, if you already have text selected it will be put inside the log statement.

How do I toggle in Eclipse?

Press Ctrl + F7 you will get below pop up. Traverse or cycle through the views you want to close by pressing F7 key. After selecting the view to be closed in the above pop up release Ctrl key. Then the view to be closed will be activated.


1 Answers

I'm not sure when this feature was added, but at least in Indigo you can cycle through the consoles using the "Next Page" and "Previous Page" commands. These are mapped to Alt + F7 and Shift + Alt + F7 by default.

like image 89
johnwayner Avatar answered Nov 09 '22 08:11

johnwayner