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

5

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

Malathion answered 1/10, 2012 at 8:25 Comment(6)
Check the 'Error Log' view for any exceptions, might be related to some plug-in you have installed that's not compatible with JunoModality
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.Asinine
@Asinine That worked for me as well. Why not submit as an answer?Insulin
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).Auriferous
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 wayMissal
possible duplicate of Eclipse Invisible EditorAnchie
F
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.

Fist answered 29/8, 2013 at 14:39 Comment(0)
R
6

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

Robinia answered 26/6, 2013 at 6:43 Comment(2)
The OP wrote: "the suggested solution 'Window > Reset Perspective' does not work for me."Rheo
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.Fist
Y
3

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

Yulma answered 6/3, 2014 at 7:19 Comment(1)
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.Doctrinal
C
2

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

Consuela answered 6/12, 2013 at 13:6 Comment(0)
D
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

Drainage answered 22/6, 2014 at 4:54 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.