Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to customize a toolbar in Eclipse?

I am trying to customize Eclipse to speed up development and minimize distractions for Android Java development.

I am using SourceGear Vault for source control and installed the plugin for Eclipse. So to check stuff in/out, I have to right click on the Project/File, go to Team submenu, then pick a source control command (Check In, Check Out, Get Latest, etc...). I find this process slow. I'd like a button on the toolbar and a keyboard shortcut to do these operations.

I tried going to Customize Perspective, but under Team toolbar, there is only Synchronize command.
And I have no idea how to setup a shortcut for the SCC operations either as they are not present in Shortcuts tab.

Am I missing something simple?

like image 423
AngryHacker Avatar asked Dec 27 '11 18:12

AngryHacker


People also ask

Where is the toolbar in Eclipse?

To show the Eclipse Toolbar, you should activate “Show Toolbar” in the Menu. If this does not work, maybe something went wrong. You can reset the Perspective in Eclipse or delete folder “.

How do I change the size of the tool bar in eclipse?

Step 1: Create a shortcut of eclipse.exe on your desktop. Step 2: Right click on the shortcut icon and go to the Properties » Compatibility. Step 3: Click on the Change high DPI settings, tick the Override high DPI scaling behavior then select the System (Enhanced).


3 Answers

(Revised)

Look in the Command Groups Availability tab of the dialog you get when you do the Customize Perspective and you should see an entry related to your VCS; turn this entry on and then go back to the Toolbar Visibility and you should see more stuff (under the name of the VCS). The Team area is not going to have what you want; the commands are grouped by the VCS name, like git, SVN, etc.

Sorry for the initial answer, I mis-read part of your question.

like image 182
Francis Upton IV Avatar answered Oct 02 '22 03:10

Francis Upton IV


Eclipse Photon

  • Window
  • Perspective
  • Customize Perspective

Now you can check and uncheck checkboxes to customize the buttons that show up.

Tested on Photon Release Candidate 3 (4.8.0RC3).


I find that if you are currently using a base perspective that comes standard with the Eclipse install you need to: "Window -> Save Perspective As..." first. Then you can just customise the tool bar as you please.

like image 36
user3047603 Avatar answered Oct 02 '22 05:10

user3047603