Mikael Johansson
Mikael Johansson

Reputation: 323

When opening java files in Eclipse Juno, the editor seems to be minimised or hidden

I've installed Eclipse Juno SR1 and switched to my old workspace. When I open a java file in the editor, it seems to be minimized (or hidden). The titlebar shows the current file and the outline displays all methods.

This is much as described in the Eclipse Invisible Editor, however, the suggested solution 'Window > Reset Perspective' does not work for me.

Any ideas on how I can get the editor back in the window?

I have the same problem with previous version of Eclipse Juno (not SR1).

Upvotes: 26

Views: 13515

Answers (5)

Jorge E. Hernández
Jorge E. Hernández

Reputation: 2938

You don't need to restart eclipse.

Just double-click your file inside the Package Explorer view. You will see it's name in the title bar, but it won't appear in the editor:

enter image description here

Now, just type Ctrl + w (in case of Windows).

Reopen your file, and it will appear in the editor:

enter image description here

Upvotes: 0

Zeitnot
Zeitnot

Reputation: 33

There are times when the editor or other views starts behaving erratic. For such situations do: "Windows" -> "New Window". Close the old one.

Upvotes: 3

mkm13
mkm13

Reputation: 141

I had this problem in STS and then it contaminated my regular Eclipse in the same workspace. "New Window" helped, thanks!

Upvotes: 2

Brill Pappin
Brill Pappin

Reputation: 4800

"Windows" -> "New Window" seems to bring back the invisible editor view. Then just close the old one and restart eclipse to make sure it "remembers" the configuration.

Upvotes: 49

asad raza
asad raza

Reputation: 432

Try Window > Reset Perspective to get things back to normal.

Upvotes: 6

Related Questions