Complete Eclipse keyboard shortcuts reference — 145 shortcuts across 8 categories. Quick reference cheat sheet for Windows & Linux.
Eclipse's keymap predates most other IDEs and shows it: many bindings are two-key chords and several actions have different keys from VS Code or IntelliJ. The upside is that one shortcut, Ctrl + 3, finds any command by name, so you can be productive before memorising the rest. The table is the default Windows/Linux keymap for the Java tooling.
| Shortcut | Action |
|---|---|
| Ctrl + 3 | Find Actions (Quick Access) |
| Ctrl + Shift + L | Show Key Assist |
| Ctrl + Shift + R | Open Resource |
| Ctrl + Shift + T | Open Type |
| Ctrl + Shift + H | Open Type in Hierarchy |
| Ctrl + S | Save |
| Ctrl + Shift + S | Save All |
| Ctrl + P | |
| Ctrl + B | Build All |
| Alt + Enter | Properties |
| Alt + Shift + N | New Menu |
| Alt + Shift + W | Show In |
| F5 | Refresh |
| Delete | Delete |
| Shortcut | Action |
|---|---|
| Ctrl + F4 | Close Editor |
| Ctrl + Shift + W | Close All Editors |
| Ctrl + M | Maximize Editor or View |
| Ctrl + E | Quick Switch Editor |
| Ctrl + Shift + E | Switch to Editor |
| F12 | Activate Editor |
| Ctrl + F6 | Next Editor |
| Ctrl + Shift + F6 | Previous Editor |
| Ctrl + F7 | Next View |
| Ctrl + Shift + F7 | Previous View |
| Ctrl + F8 | Next Perspective |
| Ctrl + Shift + F8 | Previous Perspective |
| Ctrl + Page Down | Next Tab |
| Ctrl + Page Up | Previous Tab |
| Ctrl + Shift + - | Toggle Split Editor |
| Alt + Shift + Q, P | Show Package Explorer |
| Alt + Shift + Q, O | Show Outline |
| Alt + Shift + Q, X | Show Problems |
| Alt + Shift + Q, T | Show Type Hierarchy |
| Alt + Shift + Q, J | Show Javadoc |
| Alt + Shift + Q, D | Show Declaration |
| Alt + Shift + Q, B | Show Breakpoints |
| Alt + Shift + Q, V | Show Variables |
| Alt + Shift + Q, Q | Show View Dialog |
| Shortcut | Action |
|---|---|
| Ctrl + Z | Undo |
| Ctrl + Y | Redo |
| Ctrl + X | Cut |
| Ctrl + C | Copy |
| Ctrl + V | Paste |
| Ctrl + D | Delete Line |
| Alt + Up | Move Lines Up |
| Alt + Down | Move Lines Down |
| Ctrl + Alt + Up | Duplicate Lines |
| Ctrl + Alt + Down | Copy Lines |
| Ctrl + Alt + J | Join Lines |
| Shift + Enter | Insert Line Below |
| Ctrl + Shift + Enter | Insert Line Above |
| Ctrl + Backspace | Delete Previous Word |
| Ctrl + Delete | Delete Next Word |
| Ctrl + Shift + Delete | Delete to End of Line |
| Ctrl + Shift + X | To Upper Case |
| Ctrl + Shift + Y | To Lower Case |
| Insert | Toggle Overwrite |
| Ctrl + I | Correct Indentation |
| Ctrl + Shift + F | Format |
| Ctrl + / | Toggle Comment |
| Ctrl + Shift + / | Add Block Comment |
| Ctrl + Shift + \ | Remove Block Comment |
| Alt + Shift + A | Toggle Block Selection |
| Alt + Shift + Y | Toggle Word Wrap |
| Alt + / | Word Completion |
| Ctrl + = | Zoom In |
| Ctrl + - | Zoom Out |
| Shortcut | Action |
|---|---|
| Ctrl + L | Go to Line |
| Ctrl + Q | Last Edit Location |
| Ctrl + Alt + Left | Previous Edit Location |
| Ctrl + Alt + Right | Next Edit Location |
| Ctrl + Home | Go to Start of File |
| Ctrl + End | Go to End of File |
| Ctrl + Left | Previous Word |
| Ctrl + Right | Next Word |
| Ctrl + Shift + Left | Select Previous Word |
| Ctrl + Shift + Right | Select Next Word |
| Home | Line Start |
| End | Line End |
| Shift + Home | Select to Line Start |
| Shift + End | Select to Line End |
| Ctrl + Up | Scroll Line Up |
| Ctrl + Down | Scroll Line Down |
| Ctrl + F | Find and Replace |
| Ctrl + K | Find Next |
| Ctrl + Shift + K | Find Previous |
| Ctrl + J | Incremental Find |
| Ctrl + Shift + J | Incremental Find Reverse |
| Ctrl + A | Select All |
| Shortcut | Action |
|---|---|
| Ctrl + Space | Content Assist |
| Ctrl + 1 | Quick Fix |
| Ctrl + 2, R | Rename in File |
| Ctrl + 2, L | Assign to Local Variable |
| Ctrl + 2, F | Assign to Field |
| Ctrl + 2, M | Extract to Method |
| Ctrl + O | Quick Outline |
| Ctrl + T | Quick Type Hierarchy |
| Ctrl + Shift + O | Organize Imports |
| Ctrl + Shift + M | Add Import |
| F3 | Open Declaration |
| F4 | Open Type Hierarchy |
| Ctrl + Alt + H | Open Call Hierarchy |
| Ctrl + Shift + G | References in Workspace |
| Ctrl + G | Declarations in Workspace |
| Shift + F2 | Open Attached Javadoc |
| Ctrl + Shift + P | Go to Matching Bracket |
| Ctrl + Shift + Up | Previous Member |
| Ctrl + Shift + Down | Next Member |
| Ctrl + F3 | Open Structure |
| Alt + Shift + O | Toggle Mark Occurrences |
| Ctrl + Shift + U | Occurrences in File |
| Alt + Shift + Up | Select Enclosing Element |
| Alt + Shift + Down | Restore Last Selection |
| Alt + Shift + Left | Select Previous Element |
| Alt + Shift + Right | Select Next Element |
| Alt + Shift + B | Show in Breadcrumb |
| Shortcut | Action |
|---|---|
| Alt + Shift + R | Rename |
| Alt + Shift + M | Extract Method |
| Alt + Shift + L | Extract Local Variable |
| Alt + Shift + I | Inline |
| Alt + Shift + C | Change Method Signature |
| Alt + Shift + V | Move |
| Alt + Shift + K | Make Static |
| Alt + Shift + Z | Surround With |
| Alt + Shift + S | Source Quick Menu |
| Alt + Shift + T | Refactor Quick Menu |
| Alt + Shift + J | Add Javadoc Comment |
| Shortcut | Action |
|---|---|
| Ctrl + F11 | Run |
| F11 | Debug |
| F6 | Step Over |
| F7 | Step Return |
| F8 | Resume |
| Ctrl + Shift + B | Toggle Breakpoint |
| Ctrl + R | Run to Line |
| Ctrl + F2 | Terminate |
| Shift + F5 | Use Step Filters |
| Shift + F8 | Resume Other Threads |
| Alt + B | Skip All Breakpoints |
| Shortcut | Action |
|---|---|
| Ctrl + Numpad / | Toggle Folding |
| Ctrl + Numpad * | Expand All |
| Ctrl + Shift + Numpad / | Collapse All |
| Ctrl + Numpad + | Expand |
| Ctrl + Numpad - | Collapse |
| Ctrl + Shift + Q | Toggle Quick Diff |
| Ctrl + F10 | Ruler Context Menu |
Ctrl + 3 is 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.
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.
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.
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.
Ctrl + 3 opens Quick Access. Type a few letters of the command name and press Enter.
Ctrl + 1 (Quick Fix) shows fixes and refactorings for the element under the cursor.
That is the Eclipse default. Duplicate lines with Ctrl + Alt + Down (or Up).
F7 runs until the current method returns to its caller — the same as Step Out in other debuggers.
Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"