39

I have eclipse Juno. I'm not sure how, but my editor in eclipse is now "invisible". By invisible i mean, the editor pane is not in the visible window. I'm not a novice in eclipse and i know you can minimize the editors or maximize a different panel - but this isn't the case. There isn't even a minimize/maximize button on this empty space where the editor should be.

However, the title bar shows the current file that is opened (but in the invisible editor and hence invisible). and my outline sidebar shows the file's outline.

I think this might have happened when splitting editor panes (which i do a lot, love the side by side comparison), and also switching the perspective.

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

enter image description here

Above is a screenshot of how it looks. At the time of the screen shot i had just recently clicked a file to open it, and it seems to have opened in the invisible editor.

leech
  • 8,293
  • 7
  • 62
  • 78

8 Answers8

91

I've tried all given solutions and none of them solved the problem. Only using Window->New Window gave me a new fixed eclipse window.

JPMagalhaes
  • 3,611
  • 1
  • 25
  • 26
  • 1
    This works, and though it's annoying to lose all the current files you might be editing, you don't have to restart eclipse. – leech Nov 21 '13 at 22:06
  • 2
    Thank you! This worked also in Eclipse 4.3 64bit (Mac) for me. – MiB Mar 31 '14 at 03:54
  • 2
    Aargh!. Yes, this works in Kepler too, where the same problem still exists, and I, too, got there by opening a second editor on a file. Thanks, Stack Overflow! Preventing another blown stack. – Steve Cohen Jun 06 '14 at 13:23
  • 4
    After `new window` just close the old one and everything is done. – Alston Sep 05 '14 at 10:35
  • 2
    2015 checking & the bug is still here! it can appear after Eclipse misunderstood a split view intent and somehow stacked Editing Windows. Failing to find a way to properly close the background windows generated the issue. – Poutrathor May 13 '15 at 15:52
  • Wow, never had this bug before. New window solved it. Restarted eclipse didn't help at all. – porfiriopartida May 28 '15 at 23:46
  • Just came across this issue in eclipse mars, this was the only solution I could find that was any help. – Gareth1305 Apr 26 '16 at 23:01
  • This worked with Kepler, while a full restart wouldn't! – Mena May 02 '17 at 12:53
18

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

E-Riz
  • 31,431
  • 9
  • 97
  • 134
6

I minimized sharedArea and after restore it was empty. Editors worked well (open, close, save etc.) but i could not see them. Closing all perspectives helped.

katalizator
  • 61
  • 1
  • 1
3

This happens to me sometimes when I try to split an editor group by dragging an editor tab. The only solution that worked for me was to close every single perspective in the application toolbar, then Window -> New Window.

Julian A.
  • 10,928
  • 16
  • 67
  • 107
  • Solved my problem on RDz, I had an empty shared area, no window borders, just there, files were opening in other views and I couldn't even move them to the shared area. – alainsanguinetti Mar 06 '18 at 10:08
2

I've had this happen occasionally when splitting panes. Restarting Eclipse didn't work for me, nor did resetting the perspective.

The solution I stumbled upon was to give the editor area focus (by clicking in the area where it should be, I suppose) and close files in the invisible editor with Ctrl+W until the editor reappears. You may notice the window title changes to follow the file in the hidden editor.

qualidafial
  • 6,674
  • 3
  • 28
  • 38
1

I had the same problem and simply stopping/restarting Eclipse fixed it.

James Beninger
  • 2,277
  • 2
  • 18
  • 28
  • Acutally, when this problem happened for me, even a restart didn't help. Though i imagine it could work, i still would want to avoid this. – leech Oct 08 '13 at 21:24
0

I have the fix, when neither resetting the perspective or restarting eclipse helps: At the bottom of the File Menu, there is your recent file name that you are trying to get back. Click on that and it should return.

0

Start eclipse with:

eclipse.exe -repair