views:

101

answers:

2

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?

+3  A: 

I'm not sure if you could do this (will be happy to learn something new as always), but, I can offer a workaround.

You can open several console views: in the right most menu in the console select New Console View. Open as many as you need. Each should show a different console. Use the Pin Console button to make sure they don't switch on you.

Now, the problem is reduced to navigating open views with the keyboard. This can be achieved with Cmd+F7 and Shift+Cmd+F7.

Not ideal, but might be good enough.

zvikico
Thanks. This is a reasonable workaround, and it is good to at least have an alternative.
Sergio Acosta
+2  A: 

Nice problem! Here is my plugin to solve the problem: http://www.martialjava.com/2010/07/eclipse-plugin-cycle-console/

nanda
Amazing. Thank you, thank you very much. Not only because the plugin works great and it is exactly what I needed, but because you just solved a problem that has been annoying me every day for the past 6 or 7 months. I'm not exaggerating if I say this will improve my life quality and my mental health. =)
Sergio Acosta
you're welcome Sergio! Glad you like it.
nanda