There is in eclipse default shortcut for showing the views, eg. Alt+Shift+q, c shows up the console.
But how can I close it?
I mean: I have minimized view with console on it, Ctrl+F11 to run, console shows up, and only way to close it is to click somewhere in editor – it is very inconveniently, couse cursor position is changed.
If you run with your editor area maximised all the time, then, from any view, F12 will take you to the editor, and minimise any other views.
If you don’t keep the editor maximised, then F12 will simply focus the editor without minimising any views.
In either case, Ctrl-M will toggle the editor between maximised and not.