Messed up Eclipse window layout - eclipse

I accidently messed up the default eclipse layout now I can't get it back the way it used to be. HERE is a picture. What really annoys me is that eclipse now is taking up unnecessary space at the top. What I want gone, but can't get rid of is the bar all the to the right with "Java" in it. Right clicking won't help at all. Second, I want to get rid of the bar left to this "Java"-bar. As you can see it doesn't really have ANY FUNCTIONALITY AT ALL(??). To get rid of this strange bar is the most important thing since this will move up "Java" and Quicksearch to the placement above.
Edit: Just so to be clarify, THIS bar is what I mean which woul solve everything.
Actually, the most helpful thing would be to restore the whole Eclipse layout to default. I have tried Window->Restore Perspective but it doesn't help me :(
Thanks!

right mouse click on the perspective(top-right "Java") and select Reset. This will fix the perspective.
EDIT: It seems to be a bug in Eclipse Juno. A suggestion is to delete the workbench.xmi file, but it doesn't work for everybody...
So If it doesnt work, you have to install your eclipse again.

There are different things you might try:
You should be able to drag and drop the bar to a location where it
automatically docks and does not disturb you (e.g. at the bottom)
Right click the emtpy bar and choose "hide toolbar"
If everything fails: Delete your eclipse installation and load a new one. Don't delete your workspace and point the new installation to your current workspace. You will have all your projects as they are now.

As a workaround, until this bug will be resolved, you can edit eclipse\plugins\org.eclipse.platform_4.2.1.v201209141800\css\e4_classic_winxp.css.
Append following code.
.MToolBar.Draggable {
handle-image: url(./winXPHandle.png);
}
.MToolControl.Draggable {
handle-image: url(./winXPHandle.png);
}
Source: https://bugs.eclipse.org/bugs/show_bug.cgi?id=389594#c4

I had to click on reset for all my perspectives, then exit eclipse, and re-open it. Worked for me.

Related

Complete Removal of Eclipse plugin

I use Eclipse Neon under Windows 10.
I installed a plugin (MonjaDB) using Eclipse Market Place. As I didn't find the plugin to be very useful I uninstalled it using Help->About->Installation Details->Installed Software->Uninstall. Sadly, however, this didn't seem to fully remove the plugin.
I now have a small red square on the right hand side of my workspace in the shortcut toolbar. This cannot be removed using the close option. I went so far as to remove my installation of Eclipse and the .eclipse directory in my home area but after a reinstall the square is still there.
Presumably this means that it is somehow associated with the project in my workspace?? Does anyone have any ideas how to remove this annoying square?
EDIT:
I have noticed two things
The MonjaDB perspective is hanging around somehow and
If I press the little red square on the right it opens an empty tab in the tab set to the right (where mylyn sits) with the title of DB Tree but I cannot remove it.
I have added three screen shots
MonjaDb perspective Partly Active
It seems like your current perspective is the one that was uninstalled. Just try opening a new one via the Open Perspective toolbar button that's close to thevred square, and then you can try right-click > Close on the red square.
At least a part of this is intentional...when the implementation class of a view no longer exists we leave the view 'open' but are supposed to show an "Error Part'. The reason to leave it up is to handle cases where a user has installed a new eclipse and opens his old workspace before installing the extensions. If we were to remove the views the user would have to set up their perspectives again once they had installed the extension.
Note that resetting the perspective won't work because the class implementing IPespectiveFactory no longer exists.
Closing the perspective and opening a new, different, one should work. If the perspective you open has visible views that are no longer available you should just close them.

How to remove a "lost" task bar in eclipse

In my eclipse Mars I have two task bars with only red corners as items:
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):
But I still cant remove these toolbars ...
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.

Eclipse: workspace is completely invisible

Something quite strange has happened: The whole Eclipse main window disappeared while I was debugging a Play Framework project. The Eclipse symbol in the applications bar still shows up as usual (from where I still can force Eclipse to quit).
My System (Ubuntu 14.04.) still behaves as if Eclipse was there, e. g. other applications get unfocused when choosing Eclipse in the applications bar. Meanwhile I have re-started Eclipse (that didn't help) and even re-started Ubuntu (still the same behaviour).
When I start Eclipse the workspace selection window shows regularly up. If I select another workspace, it also shows up regularly (I have created a second one to test that). Eclipse even still reacts properly on any shortcut as well as well as F10 & F11. It seems like the Eclipse main application window was "transparent". Therefore I assume that it is a problem of Eclipse resp. its workspace rather than an Ubuntu problem.
Does anybody have an idea where to maybe re-configure the workspace? Or is there even a secret function for all that?
Thanks a lot!!
Meanwhile I was able to re-get the window: I clicked on a shadow effect that sometimes showed up. I resized that shadow with my mouse. As an effect the Eclipse window top bar (the one above the menu) showed up again. Afterwards I could "pull out" the window from the bar - and there it all was again... But I have still no idea, how that happened - and what might be the solution if someone runs into that issue without having a shadow.

Eclipse IDE Delete Key Woes

I have done some exhaustive searching and I have been unable to find any direction. Any time I try to type delete to delete some proceeding text in the IDE, or even try to paste something I get a menu that pops up in the lower right corner of the page. I'm not sure how it got turned on, or how to turn it off. It makes deleting text and copy and pasting very laborious. Here is an example of what eclipse looks like when I hit the delete key...
Again, note the small menu that appears in the lower right corner. Any help would be appreciated.
It is for sure a plugin that you have installed, something that has to do with the clipboard ...
It could be MoreClipboard, try to remove the plugin, once removed that popup should disappear .

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