General and workbench 20
This table is the Windows and Linux keymap. Eclipse declares most bindings with platform-neutral modifiers, so on macOS the modifier shown here as Ctrl is Command and the one shown as Alt is Option.
| Action | Windows / Linux |
|---|---|
| Find Actions (Quick Access)Quickly reach any command, view, or preference page by typing its name. | Ctrl+3 |
| Show Key AssistLists the key bindings that are available in the current context. | Ctrl+Shift+L |
| Open ResourceOpen any file in the workspace by name. | Ctrl+Shift+R |
| Open TypeOpen any Java type in an editor by name. | Ctrl+Shift+T |
| Open Type in HierarchyOpen a type directly in the Type Hierarchy view. | Ctrl+Shift+H |
| SaveWrites the unsaved changes of the active editor to disk; unavailable when nothing has changed. | Ctrl+S |
| Save AllStores every editor that still has unsaved changes in one step. | Ctrl+Shift+S |
| PrintSends the content of the editor that has focus to a printer. | Ctrl+P |
| Build AllBuild every project in the workspace. | Ctrl+B |
| PropertiesShow the properties of the selected resource. | Alt+Enter |
| New MenuOpens the New submenu; its entries depend on the current perspective. | Alt+Shift+N |
| Show InOpens a menu of views that can show the current file or selection, such as Package Explorer or Outline. | Alt+Shift+W |
| RefreshReloads the selected element from the local file system; with nothing selected it refreshes every project. | F5 |
| DeleteRemoves the selected text in an editor or the selected element in a view. | Delete |
| New WizardOpens the New wizard, where you pick the kind of resource to create. | Ctrl+N |
| Rename ResourceApplies to the item selected in a view; Java elements are renamed with the refactoring key instead. | F2 |
| Toggle Full ScreenSwitches the workbench window in and out of full screen mode; also under Window > Appearance. | Alt+F11 |
| Open Main MenuMoves keyboard focus to the menu bar, where the arrow keys walk through menus and submenus. | F10 |
| Open Context MenuWorks in the current view; the exact key depends on the window manager. | Shift+F10 |
| Show System MenuOpens the system menu of the active view or editor, which holds the Size commands for resizing it. | Alt+- |
Editors, views and perspectives 31
The Alt + Shift + Q bindings are two-stroke sequences: press the chord, release it, then press the letter. If you pause after the first stroke, a pop-up lists the possible completions.
| Action | Windows / Linux |
|---|---|
| Close EditorSecond default binding for closing the active editor. | Ctrl+F4 |
| CloseCloses the active editor and asks to save it first when it has unsaved data. | Ctrl+W |
| Close All EditorsClose every open editor; Ctrl + Shift + F4 does the same. | Ctrl+Shift+W |
| Close All EditorsSecond default key for the same command; a save prompt appears for editors with unsaved data. | Ctrl+Shift+F4 |
| Maximize Editor or ViewToggle the active part between maximized and restored. | Ctrl+M |
| Quick Switch EditorShow the editor drop-down list and filter it by typing. | Ctrl+E |
| Switch to EditorOpen the editor list dialog with save and close options. | Ctrl+Shift+E |
| Activate EditorReturn focus from a view to the editor area. | F12 |
| Next EditorCycles through the open editors, starting with the one used last. | Ctrl+F6 |
| Previous EditorCycles through the open editors in the opposite order; hold the keys to see the list. | Ctrl+Shift+F6 |
| Next ViewCycles through the open views, starting with the one used last. | Ctrl+F7 |
| Previous ViewActivates the view used longest ago; holding the keys shows the list of open views. | Ctrl+Shift+F7 |
| Next PerspectiveCycles through the open perspectives, starting with the one used last. | Ctrl+F8 |
| Previous PerspectiveGoes through the open perspectives in the reverse order. | Ctrl+Shift+F8 |
| Next TabMove to the next tab in the current part. | Ctrl+Page Down |
| Previous TabMove to the previous tab in the current part. | Ctrl+Page Up |
| Next Sub-TabSwitches to the following page inside a multi-page editor. | Alt+Page Down |
| Previous Sub-TabSwitches to the preceding page inside a multi-page editor. | Alt+Page Up |
| Toggle Split Editor (Horizontal)Splits the active editor horizontally, or joins it again. | Ctrl+_ |
| Toggle Split Editor (Vertical)Splits the active editor vertically, or joins it again. | Ctrl+{ |
| Show Package ExplorerSecond stroke P brings the Java Package Explorer view to the front. | Alt+Shift+QthenP |
| Show OutlineSecond stroke O activates the Outline view, opening it when it is closed. | Alt+Shift+QthenO |
| Show ProblemsSecond stroke X shows the Problems view of the workbench. | Alt+Shift+QthenX |
| Show Type HierarchySecond stroke T shows the Type Hierarchy view of the Java tooling. | Alt+Shift+QthenT |
| Show JavadocSecond stroke J brings up the Java view that displays Javadoc. | Alt+Shift+QthenJ |
| Show DeclarationSecond stroke D activates the Java view that displays the source of a declaration. | Alt+Shift+QthenD |
| Show BreakpointsSecond stroke B shows the Breakpoints view of the debugger. | Alt+Shift+QthenB |
| Show VariablesSecond stroke V shows the Variables view of the debugger. | Alt+Shift+QthenV |
| Show View DialogOpens the dialog that lists every available view to pick from. | Alt+Shift+QthenQ |
| Show Synchronize ViewOpens the Synchronize view; pause after the first stroke to see the possible second keys. | Alt+Shift+QthenY |
| Show View MenuOpens the pull-down menu of the current view when it has one. | Ctrl+F10 |
Editing 33
On Linux the GTK build unbinds Ctrl + Y and declares Redo as Ctrl + Shift + Z; Ctrl + Y remains the Windows default.
| Action | Windows / Linux |
|---|---|
| UndoReverts the most recent change made in the editor. | Ctrl+Z |
| RedoRedo the last undone operation; the Linux (GTK) build binds Redo to Ctrl + Shift + Z instead. | Ctrl+Y |
| CutRemoves the selection and places it on the clipboard for pasting elsewhere. | Ctrl+X |
| CopyPuts a copy of the selected text or elements on the clipboard. | Ctrl+C |
| PasteInserts the clipboard content as text in an editor, or as a new element in a view. | Ctrl+V |
| Delete LineRemoves the entire line of text at the caret in any text editor. | Ctrl+D |
| Move Lines UpShifts the selected lines one row higher in the text. | Alt+Up |
| Move Lines DownShifts the selected lines one row lower in the text. | Alt+Down |
| Duplicate LinesDuplicate the selected lines, keeping the selection in place. | Ctrl+Alt+Up |
| Copy LinesDuplicates the selected lines below and puts the selection on the new copy. | Ctrl+Alt+Down |
| Join LinesMerges the selected lines into a single line in any text editor. | Ctrl+Alt+J |
| Insert Line BelowStart a new line below the current one from anywhere in it. | Shift+Enter |
| Insert Line AboveAdds a blank line before the one holding the caret. | Ctrl+Shift+Enter |
| Delete Previous WordDeletes back to the start of the word; in Java name fields it stops at camel-case parts. | Ctrl+Backspace |
| Delete Next WordDeletes forward to the end of the word; in Java name fields it stops at camel-case parts. | Ctrl+Delete |
| Delete to End of LineDelete everything after the cursor on this line. | Ctrl+Shift+Delete |
| To Upper CaseChanges every letter of the selected text to capitals. | Ctrl+Shift+X |
| To Lower CaseChanges every letter of the selected text to small letters. | Ctrl+Shift+Y |
| Toggle OverwriteSwitch between insert and overwrite typing. | Insert |
| Correct IndentationFix the indentation of the selected lines. | Ctrl+I |
| FormatRun the code formatter on the selection or file. | Ctrl+Shift+F |
| Toggle CommentComment or uncomment the selected lines; Ctrl + 7 and Ctrl + Shift + C do the same. | Ctrl+/ |
| Add Block CommentSurrounds the lines that contain the selection with one block comment. | Ctrl+Shift+/ |
| Remove Block CommentStrips the block comment markers from the lines that contain the selection. | Ctrl+Shift+\ |
| Toggle Block SelectionSwitch the editor into column selection mode. | Alt+Shift+A |
| Toggle Word WrapTurn word wrap on or off in the editor. | Alt+Shift+Y |
| Word CompletionCompletes the prefix at the caret from words that occur in the open editors. | Alt+/ |
| Zoom InMakes the font of the text editors one step larger. | Ctrl+= |
| Zoom OutMakes the font of the text editors one step smaller. | Ctrl+- |
| Zoom InSecond default key for enlarging the font of the text editors. | Ctrl++ |
| Smart Insert ModeTurns typing aids such as automatic indentation and bracket closing on or off. | Ctrl+Shift+Insert |
| Shift RightIndents the selected lines one more level; needs a selection of whole lines. | Tab |
| Shift LeftRemoves one indentation level from the selected whole lines. | Shift+Tab |
Java editor 32
| Action | Windows / Linux |
|---|---|
| Content AssistProposes completions for the code at the caret in the Java editor. | Ctrl+Space |
| Quick FixShow quick fixes and quick assists for the current problem or selection. | Ctrl+1 |
| Rename in FileQuick assist that renames the element in this file only. | Ctrl+2thenR |
| Assign to Local VariableQuick assist that assigns the expression to a new local variable. | Ctrl+2thenL |
| Assign to FieldQuick assist that assigns the expression to a new field. | Ctrl+2thenF |
| Extract to MethodQuick assist that extracts the selection into a method. | Ctrl+2thenM |
| Quick OutlineShow a filterable outline of the current file. | Ctrl+O |
| Quick Type HierarchyShow the hierarchy of the selected type in a popup. | Ctrl+T |
| Organize ImportsAdd missing imports and remove unused ones. | Ctrl+Shift+O |
| Add ImportCreate an import statement for the selected name. | Ctrl+Shift+M |
| Open DeclarationJump to the declaration of the selected element. | F3 |
| Open Type HierarchyResolves the element at the selection and shows it in the Type Hierarchy view. | F4 |
| Open Call HierarchyShow who calls the selected method. | Ctrl+Alt+H |
| References in WorkspaceFinds every place in the workspace that uses the selected Java element. | Ctrl+Shift+G |
| Declarations in WorkspaceFinds where the selected Java element is declared anywhere in the workspace. | Ctrl+G |
| Open Attached JavadocOpen the external Javadoc for the selected element. | Shift+F2 |
| Go to Matching BracketJump between a bracket and its pair. | Ctrl+Shift+P |
| Previous MemberMove the caret to the previous method or field. | Ctrl+Shift+Up |
| Next MemberMove the caret to the next method or field. | Ctrl+Shift+Down |
| Open StructureShow the structure of the element under the cursor. | Ctrl+F3 |
| Toggle Mark OccurrencesHighlight every occurrence of the selected element. | Alt+Shift+O |
| Occurrences in FileOpens the quick menu of occurrence searches for this file; replaced by Ctrl + Alt + U on Linux (GTK). | Ctrl+Shift+U |
| Select Enclosing ElementExpand the selection to the enclosing syntax element. | Alt+Shift+Up |
| Restore Last SelectionShrink the selection back to the previous one. | Alt+Shift+Down |
| Select Previous ElementExpand the selection to the previous sibling. | Alt+Shift+Left |
| Select Next ElementExpand the selection to the next sibling. | Alt+Shift+Right |
| Show in BreadcrumbActivates the breadcrumb bar of the Java editor, which lists the elements enclosing the caret. | Alt+Shift+B |
| Occurrences in File (Linux)Linux (GTK) binding of the same quick menu; GTK reserves the Ctrl + Shift + U chord for Unicode entry. | Ctrl+Alt+U |
| Parameter HintsShows the parameter types of the method call at the caret in a hover. | Ctrl+Shift+Space |
| Show Tooltip DescriptionOpens the hover for the caret position as a scrollable window. | F2 |
| Assign to Try-with-ResourcesQuick assist that assigns an AutoCloseable expression to the resource of a fresh try-with-resources statement. | Ctrl+2thenT |
| Open from ClipboardOpens the Java element named on the clipboard; multi-line content goes to the Java Stack Trace Console. | Ctrl+Shift+V |
Refactoring 11
macOS differs here: Alt + Shift + letter types special characters on a Mac, so these bindings are commonly redefined there as Command + Option + letter.
| Action | Windows / Linux |
|---|---|
| RenameRename the selected element everywhere it is used. | Alt+Shift+R |
| Extract MethodTurn the selected statements into a new method. | Alt+Shift+M |
| Extract Local VariableTurn the selected expression into a local variable. | Alt+Shift+L |
| InlineInline a constant, local variable, or method. | Alt+Shift+I |
| Change Method SignatureEdit parameters and exceptions of the selected method. | Alt+Shift+C |
| MoveMove the selected element to another class or package. | Alt+Shift+V |
| Make StaticConvert the selected method to a static method. | Alt+Shift+K |
| Surround WithOpens the Surround With menu to wrap the selected statements in an if, while or for statement or a block. | Alt+Shift+Z |
| Source Quick MenuOpen the Source menu for generators such as getters and setters. | Alt+Shift+S |
| Refactor Quick MenuPops up the Refactor menu for the element selected in the Java editor or a Java view. | Alt+Shift+T |
| Add Javadoc CommentInsert a Javadoc stub for the current member. | Alt+Shift+J |
Run and debug 21
| Action | Windows / Linux |
|---|---|
| RunLaunch the last configuration in run mode. | Ctrl+F11 |
| DebugLaunch the last configuration in debug mode. | F11 |
| Step IntoWorks on a suspended thread: enters the method invoked by the current statement. | F5 |
| Step OverExecute the current line and stop at the next one. | F6 |
| Step ReturnRun until the current method returns. | F7 |
| ResumeLets a suspended thread continue running. | F8 |
| Send EOF (Console)Windows declaration: signals end of file to the process attached to the Console view. | Ctrl+Z |
| Send EOF (Console, Linux)Signals end of file from the Console view on Linux; the Windows build unbinds this key there and uses Ctrl + Z. | Ctrl+D |
| Toggle BreakpointAdd or remove a breakpoint on the current line. | Ctrl+Shift+B |
| Run to LineResume and stop again at the line holding the cursor. | Ctrl+R |
| TerminateEnds the selected debug target, stopping the launched program. | Ctrl+F2 |
| Use Step FiltersSwitches step filtering on or off; while it is on, every stepping command applies the filters. | Shift+F5 |
| Resume Other ThreadsResume every other suspended thread in the target. | Shift+F8 |
| Skip All BreakpointsTemporarily disables every breakpoint; the same action is a button on the Breakpoints view toolbar. | Ctrl+Alt+B |
| Step Into SelectionSteps into the statement that is selected in the editor. | Ctrl+F5 |
| InspectShows the value of the selected expression or variable, evaluated in the current stack frame. | Ctrl+Shift+I |
| DisplayEvaluates the selected expression and prints its result in the Debug Shell view. | Ctrl+Shift+D |
| Execute (Run Snippet)Evaluates the selected code in the Java snippet editor without showing a result. | Ctrl+U |
| Force ReturnMakes the current method return at once with the value of the selected expression. | Alt+Shift+F |
| All InstancesPops up a list of the objects of the selected type that exist in the debugged VM. | Ctrl+Shift+N |
| Debug Java ApplicationLaunches the selected class, method or other Java resource as a Java application in debug mode. | Alt+Shift+DthenJ |
Folding and display 8
| Action | Windows / Linux |
|---|---|
| Toggle FoldingTurn code folding on or off in the editor. | Ctrl+Numpad Divide |
| Expand AllOpens every collapsed region of the text editor at once. | Ctrl+Numpad Multiply |
| Collapse AllFolds every region of the text editor that can be collapsed. | Ctrl+Shift+Numpad Divide |
| ExpandUnfold the region at the cursor. | Ctrl+Numpad Add |
| CollapseFold the region at the cursor. | Ctrl+Numpad Subtract |
| Toggle Quick DiffShow or hide change bars on the line-number ruler. | Ctrl+Shift+Q |
| Ruler Context MenuOpen the context menu for the editor ruler. | Ctrl+F10 |
| Reset StructureRestores the folding structure of the editor to its initial state. | Ctrl+Shift+Numpad Multiply |
No row on this page matches that filter.
Notes
Three shortcuts to learn first
Ctrl + 3 is Find Actions, which older releases called Quick Access: type part of any command, view or preference name and run it. Ctrl + Shift + R opens any resource by name and Ctrl + Shift + T any Java type, including ones inside jars on the classpath. Ctrl + Shift + L shows the key assist list of every binding available in the current context, which doubles as the built-in version of this page.
Editing quirks
Ctrl + D deletes the current line — not duplicate, as in JetBrains tools; duplicating is Ctrl + Alt + Down. Ctrl + Shift + F formats the file, Ctrl + Shift + O organises imports (adds missing, removes unused), and Ctrl + 1 opens Quick Fix on the marker under the cursor, which is Eclipse's Alt + Enter. Alt + Up and Alt + Down move lines, Ctrl + Alt + J joins them, and Alt + Shift + A toggles block (column) selection for editing aligned text.
Navigation and refactoring
F3 opens the declaration of the element under the cursor and Ctrl + Alt + H its call hierarchy; Ctrl + Shift + G finds references across the workspace. Ctrl + O shows a quick outline of the current file for jumping to a member. Refactorings use Alt + Shift: Alt + Shift + R renames, Alt + Shift + M extracts a method, Alt + Shift + L extracts a local variable and Alt + Shift + I inlines. Alt + Shift + T opens the refactor menu when you cannot remember which chord you want.
Running and debugging
Ctrl + F11 runs and F11 debugs the last launched configuration (or the current file, depending on preferences). In the debugger, F6 steps over, F7 steps out — Eclipse calls it "step return" — and F8 resumes; note this differs from both the JetBrains and Xcode assignments. A breakpoint on the current line is Ctrl + Shift + B; Ctrl + R runs to the line under the cursor without setting one.
Questions
How do I find a command I do not know the shortcut for?
Ctrl + 3 opens Find Actions (Quick Access in older releases). Type a few letters of the command name and press Enter.
What is Eclipse's equivalent of Alt + Enter?
Ctrl + 1 (Quick Fix) shows fixes and refactorings for the element under the cursor.
Why does Ctrl + D delete my line?
That is the Eclipse default. Duplicate lines with Ctrl + Alt + Down (or Up).
What is Step Return?
F7 runs until the current method returns to its caller — the same as Step Out in other debuggers.
Do these shortcuts work on macOS?
Not as printed. Eclipse declares its bindings with platform-neutral modifiers, so a Mac uses Command where this table shows Ctrl and Option where it shows Alt, and the Alt + Shift + letter keys for refactoring and the quick menus are redefined as Command + Option + letter. Further keys are declared separately for macOS, so check Key Assist there.
Sources and checks
- Eclipse Help 2026-09 — Eclipse Platform User Guide: List of Key Bindings File, Edit, Navigate, Search, Project, Source and Refactor key tables (only the rows that still match the declared bindings)
- Eclipse Help 2026-09 — Eclipse Platform User Guide: Tips and Tricks Workbench, editor-management and line-editing keys
- Eclipse Help 2026-09 — Java Development User Guide: Tips and Tricks Java editor navigation, quick menus, word-part movement and launch shortcuts
- Eclipse Help 2026-09 — Java Development User Guide: Run Menu Actions Run, debug and stepping keys
- Eclipse Help 2026-09 — Eclipse Platform User Guide: Navigating the User Interface Using the Keyboard Menu keys, editor/view/perspective cycling, Find Actions
- Eclipse Help 2026-09 — Java Development User Guide: List of JDT Key Bindings Java editor and debug key tables
23 more source pages
- Eclipse Help 2026-09 — Java Development User Guide: Navigate Menu Actions Navigate menu keys
- Eclipse Help 2026-09 — C/C++ Development User Guide: Window Menu actions (workbench Window > Navigation submenu)
- Eclipse Help 2026-09 — Java Development User Guide: Source Menu Actions Source menu keys
- Eclipse Help 2026-09 — Java Development User Guide: File Menu Actions File menu keys
- Eclipse Help 2026-09 — Java Development User Guide: Quick Assist Ctrl + 2 quick assist sequences
- Eclipse Help 2026-09 — Java Development User Guide: Edit Menu Actions Smart Insert Mode and Word Completion
- Eclipse Help 2026-09 — Java Development User Guide: Search Menu Actions Search dialog and text search keys
- Eclipse Help 2026-09 — Java Development User Guide: Refactor Menu Actions Change Method Signature
- Eclipse Help 2026-09 — Eclipse Platform User Guide: Maximizing and minimizing in the Eclipse presentation Ctrl + M
- Eclipse 4.17 New and Noteworthy — Platform Key names of Previous/Next Edit Location; bindings re-checked in plugin.xml at R4_41
- Eclipse 3.3 (Europa) New and Noteworthy — Platform Key name of Join Lines; binding re-checked in plugin.xml at R4_41
- Eclipse 3.5 (Galileo) New and Noteworthy — Platform Key name of Toggle Block Selection; binding re-checked in plugin.xml at R4_41
- Eclipse 4.19 New and Noteworthy — Java development tools Key name of the try-with-resources quick assist; binding re-checked in plugin.xml at R4_41
- Eclipse 4.41 (2026-09) New and Noteworthy — Platform and Equinox Resume Other Threads (Shift + F8)
- Eclipse 4.6 (Neon) New and Noteworthy — Platform Key name of Toggle Word Wrap; binding re-checked in plugin.xml at R4_41
- Eclipse Platform UI repository, tag R4_41 — bundles/org.eclipse.ui.workbench.texteditor/plugin.xml Text editor bindings declared with literal key names or directly under the file's M1-M4 legend; cross-check for every text editor row
- Eclipse JDT UI repository, tag R4_41 — org.eclipse.jdt.ui/plugin.xml
- Eclipse Platform UI repository, tag R4_41 — bundles/org.eclipse.ui.editors/plugin.xml Folding bindings (declared under the file's M1-M4 legend)
- Eclipse Platform repository, tag R4_41 — debug/org.eclipse.debug.ui/plugin.xml
- Eclipse Platform UI repository, tag R4_41 — bundles/org.eclipse.ui.ide/plugin.xml Show View sequences for the dialog, Problems and Outline (declared as M2+M3+Q ...)
- Eclipse Platform UI repository, tag R4_41 — bundles/org.eclipse.search/plugin.xml Next and Previous Search Result
- Eclipse Platform UI repository, tag R4_41 — bundles/org.eclipse.ui/plugin.xml Workbench bindings: Rename (F2), the Linux Redo declaration; cross-check for every workbench row
- Eclipse Help 2026-09 — Platform Plug-in Developer Guide: org.eclipse.ui.bindings extension point Definition of the M1-M4 modifiers and of the macOS redefinitions (table notes)
Every row on this page was matched to a line in the documentation above on . A binding that could not be found there is not listed.
Found a wrong or missing key? Tell us and it gets checked against the source. How we verify describes the process and its limits.