I've been a zone leader with DZone since 2008, and I'm crazy about community. Every day I get to work with the best that JavaScript, HTML5, Android and iOS has to offer, creating apps that truly make at difference, as principal front-end architect at Avego. James is a DZone Zone Leader and has posted 639 posts at DZone. You can read more from them at their website. View Full User Profile

Customizing Eclipse: Setting Up Shortcuts

08.24.2010
| 9067 views |
  • submit to reddit

If you're using Eclipse as your IDE every day, you've probably got certain tasks that you do regularly such as getting projects from version control or writing unit tests, as well as normal coding tasks. This tip shows how you can customize what shows up on your File/New menu for a certain perspective. Some of the commands that you use might be buried under the File/New/Other.. menu. This brings them up a level. 

To do this, go to Customize Perspective from the Window menu in Eclipse, while in the perspective where you want the changes to apply.

Here, you will see a number of options that you can add to the New menu. Note that you can also customize shortcuts for the Show View and Open Perspective menus from here.

Just select the items that you want to appear. In the above example, I've included the JUnit shortcuts. 

Now when I use the File/New menu, these options will be easily accessible: 

 

 It's a pretty simple thing to do, but it might save you a little bit of time.

Tags:

Comments

Zviki Cohen replied on Sun, 2010/08/29 - 8:31am

I always find it easier to use CMD+3/CTRL+3 and start typing what I'm looking for... That will happen after years of using QuickSilver... :-)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.