Eclipse IDE keyboard shortcuts
Eclipse shortcuts cover quick access, code navigation, editing, search, debugging, and workbench navigation. The active context, installed plug-ins, scheme, locale, and operating system can change the active binding.
Windows, macOS, Linux · 49 shortcutsGeneral and navigation
Quick access, search, type lookup, and editor navigation keep common workbench actions close to the keyboard.
| Action | Windows | macOS | Linux |
|---|---|---|---|
| Open Quick Access | Ctrl3 | Cmd3 | Ctrl3 |
| Find or replace in the current file | CtrlF | CmdF | CtrlF |
| Find or replace in the project or workspace | CtrlH | CmdH | CtrlH |
| Show available views | AltShiftQthenQ | OptionCmdQthenQ | AltShiftQthenQ |
| Show Javadoc for the selected element | F2 | F2 | F2 |
| Open the declaration of the selected symbol | F3 | F3 | F3 |
| Open the Type Hierarchy view | F4 | F4 | F4 |
| Open a resource | CtrlShiftR | CmdShiftR | CtrlShiftR |
| Open a type | CtrlShiftT | CmdShiftT | CtrlShiftT |
| Open the Call Hierarchy view | CtrlAltH | CmdOptionH | CtrlAltH |
| Search for references to the selected symbol | CtrlShiftG | CmdShiftG | CtrlShiftG |
| Go to a line | CtrlL | CmdL | CtrlL |
| Go to the next problem | Ctrl. | Cmd. | Ctrl. |
| Go to the previous problem | Ctrl, | CmdShift. | Ctrl, |
Editing
These editor commands change lines, complete code, rename symbols, and open the editing and refactoring actions.
| Action | Windows | macOS | Linux |
|---|---|---|---|
| Delete the line at the cursor | CtrlD | CmdD | CtrlD |
| Move the current line up | AltUp | OptionUp | AltUp |
| Move the current line down | AltDown | OptionDown | AltDown |
| Zoom in the text editor | Ctrl+ | Cmd+ | Ctrl+ |
| Zoom out the text editor | Ctrl- | Cmd- | Ctrl- |
| Open Content Assist | CtrlSpace | CmdSpace | CtrlSpace |
| Rename the selected element | AltShiftR | CmdOptionR | AltShiftR |
| Show advanced editing operations | AltShiftS | CmdOptionS | AltShiftS |
| Show refactoring operations | AltShiftT | CmdOptionT | AltShiftT |
| Show possible fixes for a problem | Ctrl1 | Cmd1 | Ctrl1 |
Build, run, and debug
Build the workspace, launch the last application, and step through a debug session with these defaults.
| Action | Windows | macOS | Linux |
|---|---|---|---|
| Build all workspace projects | CtrlB | CmdB | CtrlB |
| Run the last launched application | CtrlF11 | CmdF11 | CtrlF11 |
| Debug the last launched application | F11 | F11 | F11 |
| Step into | F5 | F5 | F5 |
| Step over | F6 | F6 | F6 |
| Step return | F7 | F7 | F7 |
| Resume execution | F8 | F8 | F8 |
| Inspect the selected expression | CtrlShiftI | CmdShiftI | CtrlShiftI |
Workbench navigation
Cycle through editors, views, and perspectives, then open the binding list or change the active workbench state.
| Action | Windows | macOS | Linux |
|---|---|---|---|
| Show all currently available key bindings | CtrlShiftL | CmdShiftL | CtrlShiftL |
| Open the editor drop-down list | CtrlE | CmdE | CtrlE |
| Cycle to the next editor | CtrlF6 | CmdF6 | CtrlF6 |
| Cycle to the next view | CtrlF7 | CmdF7 | CtrlF7 |
| Cycle to the next perspective | CtrlF8 | CmdF8 | CtrlF8 |
| Toggle full-screen mode | AltF11 | CtrlCmdF | AltF11 |
| Activate the editor | F12 | CmdF12 | F12 |
| Open the context menu | ShiftF10 | ShiftF10 | ShiftF10 |
Files and projects
Use the file and project bindings to create, open, save, print, refresh, and inspect workspace resources.
| Action | Windows | macOS | Linux |
|---|---|---|---|
| Rename the selected resource | F2 | F2 | F2 |
| Refresh selected resources | F5 | F5 | F5 |
| Save the current file | CtrlS | CmdS | CtrlS |
| Save all open files | CtrlShiftS | CmdShiftS | CtrlShiftS |
| Close the active editor | CtrlF4 | CmdW | CtrlF4 |
| Open the New item wizard | CtrlN | CmdN | CtrlN |
| Open a file | CtrlO | CtrlO | CtrlO |
| CtrlP | CmdP | CtrlP | |
| Open resource properties | AltEnter | CmdI | AltEnter |