In a view, editor, or other control, every features should be accessible using a mouse or the keyboard.
In a dialog or wizard, a shortcut key should be defined for each button or control. The shortcut key should be displayed with an underline beneath the appropriate shortcut character.
Tip
|
Guideline 18.1 All of the features provided by a tool should be accessible using a mouse or the keyboard. |
The Eclipse platform has defined a large number of shortcut keys. Plug-in developers should make sure that the existing shortcut keys do not conflict with the shortcut keys defined in the plug-in.
Key | kbd:[Key] by itself | kbd:[Shift+Key] | kbd:[Ctrl+Key] | kbd:[Ctrl+Shift+Key] | kbd:[Alt+Key] | kbd:[Ctrl+Alt+Key] |
---|---|---|---|---|---|---|
kbd:[A] |
menu:Edit[Select All] |
|||||
kbd:[B] |
menu:Project[Build] |
(View) Bookmarks |
||||
kbd:[C] |
menu:Edit[Copy] |
|||||
kbd:[D] |
(JDT editor) menu:Display[] |
|||||
kbd:[E] |
(JDT editor) menu:Next Problem[] |
(JDT editor) menu:Previous Problem[] |
||||
kbd:[F] |
menu:Edit[Find/Replace] |
|||||
kbd:[G] |
||||||
kbd:[H] |
menu:Edit[Search] |
|||||
kbd:[I] |
||||||
kbd:[J] |
||||||
kbd:[K] |
(View) Tasks |
|||||
kbd:[L] |
menu:Edit[Go to Line] |
|||||
kbd:[M] |
(JDT editor) menu:Add Import[] |
(JDT) menu:Refactor[Move] |
||||
kbd:[N] |
menu:File[New > Other] |
(View) Navigator |
||||
kbd:[O] |
(JDT editor) menu:Organize Imports[] |
(View) Outline |
||||
kbd:[P] |
menu:File[Print] |
(View) Properties |
||||
kbd:[Q] |
(JDT editor) menu:Inspect[] |
|||||
kbd:[R] |
||||||
kbd:[S] |
menu:File[Save] |
menu:File[Save All] |
menu:Window[Switch to Editor] |
|||
kbd:[T] |
(JDT) menu:Open Type[] |
|||||
kbd:[U] |
||||||
kbd:[V] |
menu:Edit[Paste] |
|||||
kbd:[W] |
||||||
kbd:[X] |
menu:Edit[Cut] |
(JDT) menu:Refactor[Extract method] |
||||
kbd:[Y] |
menu:Edit[Redo] |
(JDT) menu:Refactor[Redo] |
||||
kbd:[Z] |
menu:Edit[Undo] |
(JDT) menu:Refactor[Undo] |
||||
kbd:[Space] |
(JDT editor) Content Assist |
|||||
kbd:[Backspace] |
Windows: menu:Undo[] |
|||||
kbd:[Tab] |
(JDT editor) Shift Right |
(JDT editor) Shift Left |
||||
kbd:[Insert] |
Windows: menu:Paste[] |
Windows: menu:Copy[] |
||||
kbd:[Delete] |
menu:Edit[Delete] |
Windows: menu:Cut[] |
menu:Edit[Delete] |
|||
kbd:[Home] |
||||||
kbd:[End] |
||||||
kbd:[Page Up] |
||||||
kbd:[Page Down] |
||||||
kbd:[Insert] |
||||||
kbd:[Delete] |
||||||
kbd:[-] (Minus) |
Show System Menu |
Show View Menu |
||||
kbd:[Left Arrow] |
||||||
kbd:[Right Arrow] |
||||||
kbd:[Up Arrow] |
||||||
kbd:[Down Arrow] |
||||||
kbd:[F1] |
Help |
Help |
Help |
Help |
||
kbd:[F2] |
(Navigator view) menu:Rename[], (JDT editor) menu:Open JavaDoc[] |
|||||
kbd:[F3] |
(JDT editor) menu:Open on Selection[] |
|||||
kbd:[F4] |
(JDT editor) menu:Open Type Hierarchy[] |
menu:File[Close All] |
menu:File[Close] |
|||
kbd:[F5] |
(Navigator view) menu:Refresh[], (Properties view) menu:Refresh[], (Debug) menu:Step Into[] |
|||||
kbd:[F6] |
(Debug) menu:Step Over[] |
menu:Next Editor[] |
menu:Previous Editor[] |
|||
kbd:[F7] |
(Debug) menu:Run to Return[] |
menu:Next View[] |
menu:Previous View[] |
|||
kbd:[F8] |
(Debug) menu:Resume[] |
|||||
kbd:[F9] |
||||||
kbd:[F10] |
(Debug) menu:Relaunch last[] |
|||||
kbd:[F11] |
(Debug) menu:Debug[] |
(Debug) menu:Run[] |
||||
kbd:[F12] |
menu:Activate Editor[] |
menu:Activate Editor[] |