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:
I find that quite 开发者_StackOverflow社区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?
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.
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.
In mac you can use option + F7 to switch between consoles. You would have to be in the console for this to work.
If you are using Linux; feel free to use CTRL+F7
精彩评论