I am a software engineer at Google on the Android project and the creator of the Java testing framework TestNG. When I'm not updating this weblog with various software-related posts or speaking at conferences, I am busy snowboarding, playing squash, tennis, golf or volleyball or scuba diving. Cedric is a DZone MVB and is not an employee of DZone and has posted 90 posts at DZone. You can read more from them at their website. View Full User Profile

Never Get Lost In Eclipse Again

03.25.2011
| 10241 views |
  • submit to reddit

Whether you are an Eclipse veteran or beginner, there will be times when you want to access a certain functionality but you can’t remember exactly where to find it.

This is where Control-3 (or ⌘-3 on Mac) comes in handy.

For example, if I want to modify the Java formatting options, I press this combination and then the first letters of “formatter:”

As you can see, every single functionality in Eclipse that contains the letters “formatt” is displayed, and the one I’m looking for is displayed at the bottom. I select it, and:

Remember this shortcut next time you get lost in Eclipse!

 

From http://beust.com/weblog/2011/03/24/never-get-lost-in-eclipse-again/

Published at DZone with permission of Cedric Beust, author and DZone MVB.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Tags:

Comments

Radics Laszlo replied on Fri, 2011/03/25 - 4:45am

Control-3 is a good shortcut but unfortunatelly not ultimate, for example "proxy" doesn't hit anything but in the preferences proxy show "Network connection".

The other everyday used shortcut is ctrl-1. I use it for

- refactoring - renaming

- refactoring - change type (example when I copy a for loop)

- generate getter-setter

- create local field for a return value

- and lots more ...

Philippe Lhoste replied on Mon, 2011/03/28 - 7:10am

For the record, on a French keyboard, it must be Ctrl+Shift+3, because the digits must be shifted in the upper row of the Azerty keyboard.

And neither Ctrl+2 nor Ctrl+Shift+2 (quick assist, I used it for rename in file) work anymore in Eclipse 3.6 (worked in 3.5). :-(

Although... just tested, Ctrl+<Numpad digit> works! With 1, 2 and 3. I got back my Ctrl+2... :-) (as long as I don't use a 15" laptop...).

Thanks for the reminder! ;-)

Comment viewing options

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