Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hiding floating windows in Eclipse Juno

In Eclipse Juno if I edit a Java file in a maximized Java Editor and run a unit test the JUnit View shows up in a floating window.

Eclipse Juno screenshot with a floating JUnit View

The Java Editor remains active and the JUnit View hides half of my screen. How can I hide the JUnit window with keyboard shortcuts?

I've used Juno Service Release 1, Build id: 20121004-1855 and it's the same with Juno Service Release 2, Build id: 20130225-0426.

like image 552
palacsint Avatar asked Feb 18 '23 18:02

palacsint


2 Answers

I went the other way round - using keyboard shortcut to activate editor.

The default is F12, which I found too far to move my lazy finger to. Instead, I rebound it to Ctrl + ;. Its very easy to reach out, and there is no other eclipse shortcut bound to this key combo (at least in my setup).

like image 114
Jayesh Bhoot Avatar answered Mar 27 '23 20:03

Jayesh Bhoot


Please make sure you are on Juno SR1. There were some fixes in SR1 related to floating windows. For me the JUnit window simply vanishes by hitting Esc or by focusing the editor again.

To ease your pain, maybe you also want to check "Activate on error/failure only" in the view menu of the JUnit view.

like image 44
Bananeweizen Avatar answered Mar 27 '23 20:03

Bananeweizen