EclipseNoob
EclipseNoob

Reputation: 171

How can I close an empty pane in Eclipse

I often end up with lots of empty panes in Eclipse that can only be minimized but not destroyed. How do I close these?

Update:

In this screenshot you can see two minimized on the upper left and several on the right hand side. In the center are four more. They only seem to be restorable in the Debug mode.

http://img406.imageshack.us/img406/9900/eclipse1.png

Upvotes: 17

Views: 7042

Answers (6)

r_e
r_e

Reputation: 242

I had the same issue. I followed @zvikico, but instead of just resetting, I first reset and then closed all the perspectives. Please follow the following to fix the problem. It worked for me:

Window -> Perspective -> Reset perspective..

After resetting follow below:

Window -> Perspective -> Close All Perspectives

Upvotes: 0

jen
jen

Reputation: 151

this happened to me, too. What worked for me (based on FilmJ and douncon's comments) was to open a class file, then drag that tab over the top of the empty pane.

Upvotes: 15

FilmJ
FilmJ

Reputation: 2021

So, it's really very easy for this to happen, if you open an editor that's incompatible with the existing editor, you can often end up having to place it outside of the tab list in one of your editor panes, then you might clear or copy that, typically while trying to add that view to a tab list.

In any case, what it's done is create a new editor, and all you need to do is drag some file to that empty editor window giving it some form of context, then close it.

Upvotes: 0

douncon
douncon

Reputation: 11

I had the same problem. For me it helped to go into the right perspective and activate the functionality that caused the window in the first place. Once I reactivated the functionality, in my case "QNX Memory Analysis perspective", I was able to close all the windows one by one.

The conclusion is you have to refill the empty windows with content and then you will be able to close them properly.

Upvotes: 1

zvikico
zvikico

Reputation: 9825

Select Window -> Reset Perspective. That should reset the current perspective (what you call "mode") to its' initial state, (hopefully) closing all irrelevant views.

Something seems terribly wrong with your Eclipse. Maybe you should reinstall it. It is possible that you installed a buggy plugin.

Upvotes: 10

Andrejs Cainikovs
Andrejs Cainikovs

Reputation: 28474

First of all, what do you mean by pane? Eclipse has:

  • Windows (Eclipse itself, e.g. instance)
  • Documents (tabs)
  • Views (properties, tasks, explorer, etc)

If by 'pane' you mean document editors, you have problems either with your Eclipse version or most likely one of the installed plugins.

Each View also can be closed (except maybe some project types (perspectives) of which I'm not aware). For CDT (C/C++) you can close practically everything.

I'll recommend you download latest Eclipse version with no plugins, extract it to different folder, and check if that happens again. If yes, please explain more in details (like Eclipse version, perspective you are using, any side plugins, etc).

Also a good places are Eclipse community forum, mailing list and bugz :-)

Upvotes: 2

Related Questions