26

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).

Community
  • 1
  • 1
Mikael Johansson
  • 323
  • 1
  • 3
  • 6
  • Check the 'Error Log' view for any exceptions, might be related to some plug-in you have installed that's not compatible with Juno – Karen Butzke Oct 01 '12 at 14:46
  • 6
    Had the same problem. "New Editor" from the "Window" menu did not work for me BUT "New Window" did. Suddenly the hidden editor was visible in the new window. – endevour Jan 09 '13 at 09:28
  • @endevour That worked for me as well. Why not submit as an answer? – Bob B May 14 '13 at 12:49
  • 1
    I got the same behavior today and the "New Window" solution did work. But I think there is still some sort of bug. It seems the editors in the current window have somehow gotten lost. No errors and operations which should target the editors continue to operate as if they believe the editors are working correctly (such as clicking a search reference which would open in a particular editor). – Ray Jun 11 '13 at 21:08
  • came here through google, for me resizing the eclipse window brings it back on view. But its just a temp solution, for any new window, i have to resize to get it into view. Will try the suggested reset perspective. I am on Kepler by the way – redDevil Nov 14 '13 at 13:25
  • possible duplicate of [Eclipse Invisible Editor](http://stackoverflow.com/questions/12206348/eclipse-invisible-editor) – Jonathan Drapeau Feb 12 '14 at 14:19

5 Answers5

49

"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.

Brill Pappin
  • 4,692
  • 1
  • 36
  • 36
6

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

laalto
  • 150,114
  • 66
  • 286
  • 303
asad raza
  • 432
  • 1
  • 7
  • 13
  • 2
    The OP wrote: "the suggested solution 'Window > Reset Perspective' does not work for me." – Artemix Jun 26 '13 at 07:04
  • That does not work in this case. Its clearly some sort of bug but once it happens Eclipse will simply refuse to show it on a reset. – Brill Pappin Aug 29 '13 at 14:40
3

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

Zeitnot
  • 33
  • 5
  • Good answer. My editor was opening in the "footer", next to "Problems". I've tried opening/closing/resetting perspectives, starting with `-clean` but to no avail. `New Window` did the trick. – David Dossot Feb 06 '15 at 19:26
2

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

mkm13
  • 141
  • 11
0

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

Jorge E. Hernández
  • 2,800
  • 1
  • 26
  • 50