I'm facing a wierd problem. My eclipse, has a google signin button which is occupying some of the space which I do not want to happen. Initially it had "Sign-in to Google" text along with it. I've followed some blog post and set accordingly to show just the icon (I don't remember that blog post link).
But now, the icon is getting replicating .. it is being shown 12 times. It is actually creating childs :P
I've gone through all the options present in Customize Perspective menu, none of them had this button listed. Can someone help me in removing that google sign button from my perspective? One possible suspect is- my eclipse crashes when I suspend and wakeup my machine.
You can use the Window > Reset Perspective... menu command to reset the perspective to its default state, which might eliminate that toolbar and buttons. If that fails, I would create a new workspace and import the projects into it using File > Import > Existing Projects into Workspace.
If you want to try to salvage your existing workspace, it's possible to do so my manually editing Eclipse's internal file that stores your Workbench layout, but it's a bit tricky. Here are the steps I've followed to eliminate a similar repeated toolbar item:
<workbench>\.metadata\.plugins\org.eclipse.e4.workbench\workbench.xmi
. Make a backup of this file before you touch it - this is essential because it's easy to corrupt the file if you change the wrong things.workbench.xmi
you want to edit.<trimBars>
nodes in the XML; from there you have to determine which <trimBars>
node you need to edit. In your case it looks like a vertical one, probably with a side="Right"
attribute.<trimBars>
node you'll find multiple <chlidren>
nodes, each with an elementId
attribute that should help you identify it; you're looking for <children>
nodes that are identified as something related to the Google plugin.<children>
nodes that seem related to the unwanted toolbar buttons. In your case, it appears that there is an entire toolbar that you might want to eliminate, so you might want to delete the entire containing <trimBars>
node.1Some packages of Eclipse include EMF tools that will open it in a special XMI editor that does not provide a view of the source, only a structural tree view. Depending on how you like to work with XML, this might be easier than editing raw XML.