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 shortcuts

General and navigation

Quick access, search, type lookup, and editor navigation keep common workbench actions close to the keyboard.

ActionWindowsmacOSLinux
Open Quick AccessCtrl3Cmd3Ctrl3
Find or replace in the current fileCtrlFCmdFCtrlF
Show available viewsAltShiftQthenQOptionCmdQthenQAltShiftQthenQ
Show Javadoc for the selected elementF2F2F2
Open the declaration of the selected symbolF3F3F3
Open the Type Hierarchy viewF4F4F4
Open a resourceCtrlShiftRCmdShiftRCtrlShiftR
Open a typeCtrlShiftTCmdShiftTCtrlShiftT
Open the Call Hierarchy viewCtrlAltHCmdOptionHCtrlAltH
Search for references to the selected symbolCtrlShiftGCmdShiftGCtrlShiftG
Go to a lineCtrlLCmdLCtrlL
Go to the next problemCtrl.Cmd.Ctrl.
Go to the previous problemCtrl,CmdShift.Ctrl,

Editing

These editor commands change lines, complete code, rename symbols, and open the editing and refactoring actions.

ActionWindowsmacOSLinux
Delete the line at the cursorCtrlDCmdDCtrlD
Move the current line upAltUpOptionUpAltUp
Move the current line downAltDownOptionDownAltDown
Zoom in the text editorCtrl+Cmd+Ctrl+
Zoom out the text editorCtrl-Cmd-Ctrl-
Open Content AssistCtrlSpaceCmdSpaceCtrlSpace
Rename the selected elementAltShiftRCmdOptionRAltShiftR
Show advanced editing operationsAltShiftSCmdOptionSAltShiftS
Show refactoring operationsAltShiftTCmdOptionTAltShiftT
Show possible fixes for a problemCtrl1Cmd1Ctrl1

Build, run, and debug

Build the workspace, launch the last application, and step through a debug session with these defaults.

ActionWindowsmacOSLinux
Build all workspace projectsCtrlBCmdBCtrlB
Run the last launched applicationCtrlF11CmdF11CtrlF11
Debug the last launched applicationF11F11F11
Step intoF5F5F5
Step overF6F6F6
Step returnF7F7F7
Resume executionF8F8F8
Inspect the selected expressionCtrlShiftICmdShiftICtrlShiftI

Workbench navigation

Cycle through editors, views, and perspectives, then open the binding list or change the active workbench state.

ActionWindowsmacOSLinux
Show all currently available key bindingsCtrlShiftLCmdShiftLCtrlShiftL
Open the editor drop-down listCtrlECmdECtrlE
Cycle to the next editorCtrlF6CmdF6CtrlF6
Cycle to the next viewCtrlF7CmdF7CtrlF7
Cycle to the next perspectiveCtrlF8CmdF8CtrlF8
Toggle full-screen modeAltF11CtrlCmdFAltF11
Activate the editorF12CmdF12F12
Open the context menuShiftF10ShiftF10ShiftF10

Files and projects

Use the file and project bindings to create, open, save, print, refresh, and inspect workspace resources.

ActionWindowsmacOSLinux
Rename the selected resourceF2F2F2
Refresh selected resourcesF5F5F5
Save the current fileCtrlSCmdSCtrlS
Save all open filesCtrlShiftSCmdShiftSCtrlShiftS
Close the active editorCtrlF4CmdWCtrlF4
Open the New item wizardCtrlNCmdNCtrlN
Open a fileCtrlOCtrlOCtrlO
PrintCtrlPCmdPCtrlP
Open resource propertiesAltEnterCmdIAltEnter

Make a printable Eclipse IDE sheet