WSAD/Eclipse Keys

11 PM November 14, 2004

I continue to rave about IBM's Eclipse based IDE, WSAD.

Here are the shortcut keys I use most. One of the big tricks with WSAD/Eclipse is learning the shortcut keys, because they don't appear in the right-click menu. Most I've learnt by inspecting the menubar, others from the documentation, but many have come by watching over the shoulder of my colleagues. Here are the ones I use the most.

KeyDescription
Ctrl+Shift+OOrganise Imports
Ctrl+Shift+MImport type under cursor
Ctrl+Shift+FFormat Code
F3Open declaration
F4Open hierarchy
Ctrl+Shift+GShow all references
Ctrl+Shift+UShow references in this file
Ctrl+QGoto last modified editor position
Alt+Left,Alt+RightGoto prev/next editor position in history
Alt+Shift+MExtract Method
Alt+Shift+RRename method/variable
Ctrl+LGoto Line number
Ctrl+OPop-up Outline
Ctrl+SpaceComplete whatever you're typing.

(These all work from the Java perspective, and some work in other perspectives too.)

So, what shortcut keys do you use? Have I missed any of your favourites?

By alang | # | Comments (15)
(Posted to javablogs and Java)
© 2003-2006 Alan Green