Eclipse: Reorient the main editor window after Open Resource (and other dialogs)

When I work with Eclipse, I fill my main monitor with an editor and break all the panels (Navigator, Console, Problems, etc.) into my secondary monitor.

I noticed that by opening a dialog (for example, Open Resource), cancel it (for example, by pressing escape), the focus shifts from the main editor window to one of the broken panels.

Is there any way to prevent this? Or, if this is not the case, is there a shortcut to “reorienting the editor in chief”?

+4
source share
2 answers

This may not be the ideal solution, but you can use the universal CTRL + 3 to go to the editor (you will need to select it by typing, for example, the editor for the first time, after which it will be selected by default, so you can just press Enter) . I looked through the menu "Window → Navigation" and in fact there is a shortcut for what you want: Activate editor ( CTRL + F12 )

+5
source

In my eclipse, the label was set only to "F12", I don’t know why.

I bounce it on ALT + SHIFT + Q, E.

This is done using the settings:

General → Keys

Install "Activate Editor" on any shortcut that suits you. I also set “When” to “On Windows” and “Category” to “Window”.

+1
source

All Articles