Hide floating windows in Eclipse Juno

In Eclipse Juno, if I edit the Java file in the advanced Java editor and run unit test, the JUnit View will appear in a floating window.

Eclipse Juno screenshot with a floating JUnit View

The Java editor remains active, and JUnit View hides half of my screen. How can I hide a JUnit window using keyboard shortcuts?

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

+4
source share
3 answers

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

The default value is F12 , which I found too far to move my lazy finger. Instead, I bounce it to Ctrl + ; . It is very easy to reach, and there is no other eclipse shortcut associated with this key combination (at least in my setup).

+5
source

Please make sure you are on Juno SR1. SR1 had some fixes related to floating windows. For me, the JUnit window just disappears by pressing Esc or focusing the editor again.

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

+2
source

Error 391808 reported that Fast View does not collapse when clicked in the Java editor. I just commented on this particular reproduction of the problem. I see the same problem as for Juno SR1. I have to actually click in the JUnit view before pressing Esc will work.

+1
source

Source: https://habr.com/ru/post/1441332/


All Articles