Keyboard Shortcuts in Eclipse SDK 3.1
This document is obsolete. In Eclipse version 3.1 or newer, all current key bindings can be browsed on the General > Keys preference page. In addition, Help > Key Assist can be invoked at any time from within the Workbench to obtain a complete list of available key bindings in that context.
Keyboard Shortcuts in Eclipse SDK 2.0
The following keyboard shortcuts are used in Eclipse SDK 2.0 (including Eclipse UI, Compare, Debug, JDT and PDE plugins).
Grey items indicate a system key that cannot be used by Eclipse. Red items indicate a conflict.

If you are adding, removing or changing shortcut key assignments in the Eclipse SDK components, please advise the UI team so this table can be updated.

Last update: July 4, 2002

Default Key Bindings
Key {Key} by itself SHIFT+{Key} CTRL+{Key} CTRL+SHIFT+{Key} ALT+SHIFT+{Key} ALT+{Key} CTRL+ALT+{Key}
A     Edit / Select All     See Note 1 See Note 2
B       (JDT Debug) Add/Remove Breakpoint      
C     Edit / Copy        
D     (JDT Debug) Display        
E     Edit/ Delete line Edit/Delete Line to End      
F     Edit / Find/Replace (JDT Editor) Format      
G     (JDT Editor) Search for Declarations in Workspace  (JDT Editor) Search for References in Workspace      
H     Edit / Search (JDT Editor) Open Type Hierarchy      
I              
J     Edit / Incremental Find        
K     Edit / Find Next Edit / Find Previous      
L     Edit / Go to Line        
M       (JDT editor) Add Import      
N     File / New / Other        
O       (JDT editor) Organize Imports      
P     File / Print        
Q     (JDT Debug) Inspect        
R     (JDT Debug) Run to Line        
S     File / Save File / Save All      
T       (JDT) Open Type      
U     (JDT Debug) Run Snippet        
V     Edit / Paste        
W    

Edit/Show Rulers

Window/Switch to Editor      
X     Edit / Cut        
Y     Edit / Redo (JDT) Refactor / Redo      
Z     Edit / Undo (JDT) Refactor / Undo      
Space     (JDT editor) Content Assist (JDT editor) Parameter Hints    (Windows) Window menu  
Enter           File / Properties  
Backspace           (Windows) Undo (X11) Shutdown X server
Esc     (Windows) Start menu     (Windows) Next app window  
Tab (JDT editor) Shift Right (JDT editor) Shift Left       (Windows) Window switcher  
Insert   (Windows) Paste (Windows) Copy        
Home              
End              
Page Up              
Page Down              
Insert              
Delete Edit / Delete (Windows) Cut Edit / Delete        
Hyphen (-)           Show System Menu (X11) Decrease resolution
Plus (+)             (X11) Increase resolution
Front Slash (/)     (JDT editor) Comment    

(JDT editor) Content Assist (Simplified Chinese)

 
Back Slash (\)     (JDT editor) Uncomment        
Period(.)     Navigate/Next;
(JDT editor) Next Problem
       
Comma(,)     Navigate/Previous;
(JDT editor) Previous Problem
       
Question Mark (?)           (JDT editor) Parameter Hints  (Simplified Chinese)  
Left Arrow        

(JDT editor) Expand Selection to Previous Element

   
Right Arrow        

(JDT editor) Expand Selection  to Next Element

   
Up Arrow        

(JDT editor) Expand Selection  to Enclosing Element

   
Down Arrow        

(JDT editor) Expand Selection  to Last Element

   
F1 Help Help Help Help     (X11) Switch to console
F2 (Navigator view) Rename, (JDT) Show JavaDoc (JDT) Open External JavaDoc          (X11) Switch to console
F3 (JDT) Open on Selection           (X11) Switch to console
F4 (JDT) Open Type Hierarchy   File / Close File / Close All   (Windows) Close window (X11) Switch to console
F5 (Navigator view) Refresh; (Properties view) Refresh; (Debug) Step Into           (X11) Switch to console
F6 (Debug) Step Over   Next Editor Previous Editor   (Windows) Switch to previous window in same program (X11) Switch to console
F7 (Debug) Run to Return   Next View Previous View     (X11) Switch to console
F8 (Debug) Resume   Next Perspective Previous Perspective     (X11) Switch to console
F9 (Debug) Relaunch last           (X11) Switch to console
F10 (Windows) Activate menubar (Windows, Motif) Context menu Show View Menu       (X11) Switch to console
F11 (Debug) Run/Debug last   (Debug) Run       (X11) Switch to console
F12 Activate Editor           (X11) Switch to console
1     (JDT Editor) Quick Fix        
2              

Emacs Key Bindings
Key {Key} by itself SHIFT+{Key} CTRL+{Key} ALT+{Key} Esc+{Key} ALT+SHIFT+
{Key}
CTRL+SHIFT+
{Key}
CTRL+ALT+
{Key}
CTRL+X,
CTRL+{Key}
CTRL+X,{Key}
A     Edit/ Go to start of line              
B     Edit/Go to previous column Edit/Go to previous word Edit/Go to previous word       Window/Switch to Editor  
C                 Close All Editors  
D     Edit/Delete next              
E     Edit/Go to end of line              
F     Edit/Go to next column Edit/Go to next word Edit/Go to next word   (JDT editor) Format      
G     (JDT editor)  Search for Declarations in Workspace, Clear Mark       (JDT editor)  Search for References in Workspace     Edit/Go to line
H                   Edit/Select All
I                    
J                    
K     Edit/Delete Line to End           File/ Close Editor  
L                    
M             (JDT editor) Add Import      
N     Edit/Go down one line              
O       (+Ctrl+K) Edit/Delete Line to Beginning     (JDT editor) Organize Imports      
P     Edit/Go up one line              
Q                    
R       Edit/Find/Replace Edit/Find/Replace          
S     Edit/Find Incremental           File/Save Editor File/Save All Editors
T                    
U                   Undo
V     Edit/Page Down Edit/Page Up Edit/Page Up          
W     Edit/Cut Edit/Copy Edit/Copy          
X                 Edit/Swap Mark  
Y     Edit/Paste              
Z     Edit/Line down Edit/Line up Edit/Line up          
Space     (+Ctrl+2) Edit/Set Mark              
Enter       File/Properties            
Backspace                    
Esc                    
Tab                    
Insert   Edit/Paste Edit/Copy              
Delete   Edit/Cut                
Home                    
End                    
Page Up                    
Page Down                    
Insert                    
Delete                    
Hyphen (-)       Show System Menu            
Underscore(_)     Edit/Undo              
Plus (+)                    
Front Slash (/)     (JDT editor) Comment

(JDT editor) Content Assist

           
Back Slash (\)     (JDT editor) Uncomment              
Question Mark (?)      

(JDT editor) Parameter Hints

           
Period(.)     Navigate/Next  Edit/Go to text end Edit/Go to text end          
Comma(,)     Navigate/Previous Edit/Go to text start Edit/Go to text start          
Less than (<)       Edit/Go to text start Edit/Go to text start          
Greater than (<>)       Edit/Go to text end Edit/Go to text end          
Left Arrow          

(JDT editor) Expand Selection to Previous Element

       
Right Arrow          

(JDT editor) Expand Selection  to Next Element

       
Up Arrow          

(JDT editor) Expand Selection  to Enclosing Element

       
Down Arrow          

(JDT editor) Expand Selection  to Last Element

       
F1                    
F2 (JDT editor)  Show Javadoc (JDT editor)  Open External Javadoc                
F3 (JDT) Open on Selection                  
F4 (JDT editor)  Open Type Hierarchy   File/Close Editor       File/Close All Editors      
F5                    
F6 Next Editor           Previous Editor      
F7 Next View           Previous View      
F8 Next Perspective           Previous Perspective      
F9 Edit/Undo     File/Print File/Print          
F10 Edit/Redo   Show View Menu              
F11                    
F12 Activate Editor                  
1     (JDT Editor) Quick Fix              

 

Notes:

  1. Avoid Alt combinations as these can conflict with menu mnemonics.
  2. Avoid Ctrl+Alt combinations as these can conflict with AltGr (alternative graphics) key sequences on international keyboards.