Search code examples
eclipsejbosseclipse-mars

How to remove a "lost" task bar in eclipse


In my eclipse Mars I have two task bars with only red corners as items:

enter image description here

How can I remove this both task bars? I have already disable all checkboxes under "Window" - "Perspective" - "Customize Perspective...". The both toolbars are still there. Also I cannot do a left or right click on these both toolbars ...

EDIT:

Ok, after reinstalling the "JBoss Developer Studio" PlugIn I get (instead of the red corners):

enter image description here

But I still cant remove these toolbars ...


Solution

  • The file where the workbench layout is stored is

    <your-workspace>/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi

    I had something similar happen once and was able to manually edit that file (with some trial-and-error) to get rid of the duplicate, unwanted toolbars. I can't really recommend it, though, as it's a very error-prone process. If you do decide to attempt it, make sure to make backups of the file before you being.

    Alternatively, you can try just deleting that file (rename it or move it somewhere else) and see if Eclipse will re-create it automatically.

    A better alternative is probably to export your workspace preferences then create a new workspace. You can import your projects and exported preferences into the new one.