François Pinard's site

Eclipse keybindings

  • Useful tricks:
    • F1 for Help (contextual)
    • Mouse select, Ctrl+Space, Up+Arrow, Enter for sending selected text to stdout.




1   Debugging

1.1   Run/Debug

  Binding                    Command

  Ctrl+F2                    Terminate

  Ctrl+F5                    Step Into Selection

  Ctrl+R                     Run to Line

  F5                         Step Into

  F6                         Step Over

  F7                         Step Return

  F8                         Resume

2   Editing Ant Buildfiles

2.1   Source



  Binding                    Command


  Esc Ctrl+F                 Format

  Shift+Alt+O                Toggle Ant Mark Occurrences

  Shift+Alt+R                Rename In File

  Shift+Ctrl+F               Format

  Shift+F2                   Open External Documentation

3   Editing Java Source

3.1   Edit

  Binding                    Command

  Shift+Alt+Down             Restore Last Selection

  Shift+Alt+Left             Select Previous Element

  Shift+Alt+Right            Select Next Element

  Shift+Alt+Up               Select Enclosing Element

3.2   Navigate

  Binding                    Command

  Ctrl+F3                    Open Structure

  Ctrl+O                     Quick Outline

  Ctrl+T                     Quick Hierarchy

  Shift+Alt+B                Show In Breadcrumb

  Shift+Ctrl+Down            Go to Next Member

  Shift+Ctrl+P               Go to Matching Bracket

  Shift+Ctrl+Up              Go to Previous Member

3.3   Source

  Binding                    Command

  Ctrl+/                     Toggle Comment

  Ctrl+2 F                   Quick Assist - Assign to field

  Ctrl+2 L                   Quick Assist - Assign to local variable

  Ctrl+2 R                   Quick Assist - Rename in file

  Ctrl+7                     Toggle Comment

  Ctrl+I                     Indent Line

  Esc Ctrl+C                 Toggle Comment

  Esc Ctrl+F                 Format

  Shift+Alt+O                Toggle Mark Occurrences

  Shift+Alt+U                Remove Occurrence Annotations

  Shift+Ctrl+/               Add Block Comment

  Shift+Ctrl+C               Toggle Comment

  Shift+Ctrl+F               Format

  Shift+Ctrl+M               Add Import

  Shift+Ctrl+\\              Remove Block Comment

4   Editing Properties Files

4.1   Source

  Binding                    Command

  Ctrl+/                     Toggle Comment

  Ctrl+7                     Toggle Comment

  Esc Ctrl+C                 Toggle Comment

  Shift+Ctrl+C               Toggle Comment

5   Editing Text

5.1   Edit

  Binding                    Command

  Alt+/                      Word Completion

  Ctrl+J                     Incremental Find

  Ctrl+K                     Find Next

  Shift+Ctrl+Insert          Toggle Insert Mode

  Shift+Ctrl+J               Incremental Find Reverse

  Shift+Ctrl+K               Find Previous

  Shift+Ctrl+Q               Quick Diff Toggle

5.2   Navigate

  Binding                    Command

  Ctrl+L                     Go to Line

5.3   Text Editing

  Binding                    Command

  Alt+Down                   Move Lines Down

  Alt+Up                     Move Lines Up

  Ctrl+Alt+Down              Copy Lines

  Ctrl+Alt+J                 Join Lines

  Ctrl+Alt+Up                Duplicate Lines

  Ctrl+Backspace             Delete Previous Word

  Ctrl+D                     Delete Line

  Ctrl+Delete                Delete Next Word

  Ctrl+Down                  Scroll Line Down

  Ctrl+End                   Text End

  Ctrl+Home                  Text Start

  Ctrl+Left                  Previous Word

  Ctrl+Numpad_Add            Expand

  Ctrl+Numpad_Divide         Toggle Folding

  Ctrl+Numpad_Multiply       Expand All

  Ctrl+Numpad_Subtract       Collapse

  Ctrl+Right                 Next Word

  Ctrl+Up                    Scroll Line Up

  End                        Line End

  F2                         Show Tooltip Description

  Home                       Line Start

  Insert                     Toggle Overwrite

  Shift+Ctrl+Delete          Delete to End of Line

  Shift+Ctrl+Enter           Insert Line Above Current Line

  Shift+Ctrl+Left            Select Previous Word

  Shift+Ctrl+Numpad_Divide   Collapse All

  Shift+Ctrl+Numpad_Multiply Reset Structure

  Shift+Ctrl+Right           Select Next Word

  Shift+Ctrl+X               To Upper Case

  Shift+Ctrl+Y               To Lower Case

  Shift+End                  Select Line End

  Shift+Enter                Insert Line Below Current Line

  Shift+Home                 Select Line Start

5.4   Window

  Binding                    Command

  Ctrl+F10                   Show Ruler Context Menu

6   Editing in Structured Text Editors

6.1   Edit

  Binding                    Command

  Ctrl+I                     Format Active Elements

  F3                         Open Selection

  Shift+Alt+Down             Restore Last Selection

  Shift+Alt+Left             Select Previous Element

  Shift+Alt+Right            Select Next Element

  Shift+Alt+Up               Select Enclosing Element

  Shift+Ctrl+/               Add Block Comment

  Shift+Ctrl+>               Matching Tag

  Shift+Ctrl+A               Occurrences in File

  Shift+Ctrl+C               Toggle Comment

  Shift+Ctrl+Down            Next Sibling

  Shift+Ctrl+F               Format

  Shift+Ctrl+Up              Previous Sibling

  Shift+Ctrl+\\              Remove Block Comment

6.2   Navigate

  Binding                    Command

  Shift+Ctrl+P               Matching Bracket

7   Editor Breadcrumb Navigation

7.1   Navigate

  Binding                    Command

  Shift+Alt+B                Show In Breadcrumb

8   In Breakpoints View

8.1   Run/Debug

  Binding                    Command

  Alt+Enter                  Java Breakpoint Properties

9   In Dialogs

9.1   Help

  Binding                    Command

  Ctrl+F4                    Close User Assistance Tray

  Ctrl+W                     Close User Assistance Tray

10   In Dialogs and Windows

10.1   Edit

  Binding                    Command

  Ctrl+1                     Quick Fix

  Ctrl+A                     Select All

  Ctrl+C                     Copy

  Ctrl+Insert                Copy

  Ctrl+Space                 Content Assist

  Ctrl+V                     Paste

  Ctrl+X                     Cut

  Ctrl+Y                     Redo

  Ctrl+Z                     Undo

  Shift+Delete               Cut

  Shift+Insert               Paste

10.2   Run/Debug

  Binding                    Command

  Shift+Ctrl+D               Display

  Shift+Ctrl+I               Inspect

  Shift+Ctrl+V               Display

10.3   Spy

  Binding                    Command

  Shift+Alt+F1               Plug-in Spy

10.4   Window

  Binding                    Command

  Ctrl+F10                   Show View Menu

  Shift+Ctrl+L               Show Key Assist

11   In I/O Console

11.1   Run/Debug

  Binding                    Command

  Ctrl+D                     EOF

12   In Memory View

12.1   Run/Debug

  Binding                    Command

  Ctrl+Alt+M                 Add Memory Block

  Ctrl+Alt+N                 Next Memory Monitor

  Ctrl+N                     New Rendering

  Ctrl+T                     Toggle Memory Monitors Pane

  Ctrl+W                     Close Rendering

13   In Table Memory Rendering

13.1   Run/Debug

  Binding                    Command

  Ctrl+G                     Go to Address

  Shift+Ctrl+,               Previous Page of Memory

  Shift+Ctrl+.               Next Page of Memory

14   In Windows

14.1   Edit

  Binding                    Command

  Ctrl+F                     Find and Replace

  Delete                     Delete

  Shift+Ctrl+Space           Context Information

14.2   File

  Binding                    Command

  Alt+Enter                  Properties

  Ctrl+F4                    Close

  Ctrl+N                     New

  Ctrl+P                     Print

  Ctrl+S                     Save

  Ctrl+W                     Close

  F2                         Rename

  F5                         Refresh

  Shift+Alt+N                New menu

  Shift+Ctrl+F4              Close All

  Shift+Ctrl+S               Save All

  Shift+Ctrl+W               Close All

14.3   Navigate

  Binding                    Command

  Alt+Left                   Backward History

  Alt+Right                  Forward History

  Ctrl+,                     Previous

  Ctrl+.                     Next

  Ctrl+Alt+H                 Open Call Hierarchy

  Ctrl+Q                     Last Edit Location

  F3                         Open Declaration

  F4                         Open Type Hierarchy

  Shift+Alt+W                Show In…

  Shift+Ctrl+A               Open Plug-in Artifact

  Shift+Ctrl+H               Open Type in Hierarchy

  Shift+Ctrl+Numpad_Divide   Collapse All

  Shift+Ctrl+R               Open Resource

  Shift+Ctrl+T               Open Type

  Shift+F2                   Open External Javadoc

14.4   Project

  Binding                    Command

  Ctrl+B                     Build All

14.5   Refactor - Java

  Binding                    Command

  Shift+Alt+C                Change Method Signature

  Shift+Alt+I                Inline

  Shift+Alt+L                Extract Local Variable

  Shift+Alt+M                Extract Method

  Shift+Alt+R                Rename - Refactoring 

  Shift+Alt+T                Show Refactor Quick Menu

  Shift+Alt+V                Move - Refactoring 

14.6   Run/Debug

  Binding                    Command

  Ctrl+F11                   Run

  Ctrl+U                     Execute

  F11                        Debug

  Shift+Alt+D A              Debug Java Applet

  Shift+Alt+D E              Debug Eclipse Application

  Shift+Alt+D J              Debug Java Application

  Shift+Alt+D O              Debug OSGi Framework

  Shift+Alt+D P              Debug JUnit Plug-in Test

  Shift+Alt+D Q              Debug Ant Build

  Shift+Alt+D T              Debug JUnit Test

  Shift+Alt+F                Force Return

  Shift+Alt+X A              Run Java Applet

  Shift+Alt+X E              Run Eclipse Application

  Shift+Alt+X J              Run Java Application

  Shift+Alt+X O              Run OSGi Framework

  Shift+Alt+X P              Run JUnit Plug-in Test

  Shift+Alt+X Q              Run Ant Build

  Shift+Alt+X T              Run JUnit Test

  Shift+Ctrl+B               Toggle Breakpoint

  Shift+Ctrl+N               All Instances

  Shift+F5                   Use Step Filters

14.7   Search

  Binding                    Command

  Ctrl+Alt+G                 Find Text in Workspace

  Ctrl+G                     Declaration in Workspace

  Ctrl+H                     Open Search Dialog

  Shift+Ctrl+G               References in Workspace

  Shift+Ctrl+U               Show Occurrences in File Quick Menu

14.8   Source

  Binding                    Command

  Shift+Alt+J                Add Javadoc Comment

  Shift+Alt+S                Show Source Quick Menu

  Shift+Alt+Z                Surround With Quick Menu

  Shift+Ctrl+O               Organize Imports

14.9   View

  Binding                    Command

  Ctrl+-                     Zoom Out

  Ctrl+=                     Zoom In

14.10   Views

  Binding                    Command

  Shift+Alt+Q B              Show View (View: Breakpoints)

  Shift+Alt+Q C              Show View (View: Console)

  Shift+Alt+Q D              Show View (View: Declaration)

  Shift+Alt+Q H              Show View (View: Cheat Sheets)

  Shift+Alt+Q J              Show View (View: Javadoc)

  Shift+Alt+Q L              Show View (View: Error Log)

  Shift+Alt+Q O              Show View (View: Outline)

  Shift+Alt+Q P              Show View (View: Package Explorer)

  Shift+Alt+Q Q              Show View

  Shift+Alt+Q S              Show View (View: Search)

  Shift+Alt+Q T              Show View (View: Hierarchy)

  Shift+Alt+Q V              Show View (View: Variables)

  Shift+Alt+Q X              Show View (View: Problems)

  Shift+Alt+Q Y              Show View (View: Synchronize)

  Shift+Alt+Q Z              Show View (View: History)

14.11   Window

  Binding                    Command

  Alt+-                      Show System Menu

  Ctrl+3                     Quick Access

  Ctrl+E                     Quick Switch Editor

  Ctrl+F6                    Next Editor

  Ctrl+F7                    Next View

  Ctrl+F8                    Next Perspective

  Ctrl+M                     Maximize Active View or Editor

  F12                        Activate Editor

  Shift+Ctrl+E               Switch to Editor

  Shift+Ctrl+F6              Previous Editor

  Shift+Ctrl+F7              Previous View

  Shift+Ctrl+F8              Previous Perspective

15   PDE editor

15.1   Manifest Editor Source

  Binding                    Command

  Shift+Ctrl+F               Format Source

15.2   Navigate

  Binding                    Command

  Ctrl+O                     Quick Outline