Appendix A. Commands

Eclipse supports over 350 commands for all aspects of editing, running, and debugging programs. Most of these can be found on a menu—or submenu—inside Eclipse, while some are bound to keystrokes. Then there are the ones that are not normally accessible at all. In order to run those, you must first bind them to a key (Window → Preferences → General → Keys).

Tip

Press Ctrl+Shift+L (Help → Key Assist…) to see a quick list of the currently defined keys.

This appendix lists most of the commands available in Eclipse along with their key bindings and menu paths (if any). Commands are organized into categories such as Edit and File, just as you would see them listed in the Keys Preferences. Within each category, the commands are listed in alphabetical order. The format used is:

Command [Default key bindings]

Main menu path

Some commands can be accessed by two or more equivalent key sequences. For example, the Copy command's key bindings are listed as "Ctrl+C | Ctrl+Insert." The vertical bar indicates that either Ctrl+C or Ctrl+Insert will work.

Other bindings are actually composed of two keys pressed in sequence. For example, the key binding for "Quick Assist -Rename in file" is shown as "Ctrl+2, R." The comma indicates you should press Ctrl+2, release, and then press the R key.

Tip

It sounds more complicated than it really is. If you press the first key of a multikey sequence and pause, a window will appear to remind you what to press next.

In the interest of ...

Get Eclipse IDE Pocket Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.