Skip to content

↑↓ moveEnter openEsc close

Extract method in Eclipse

Eclipse 2025-09 · 52 shortcuts · checked Nov 2026 · Source: Eclipse Foundation docs

In Eclipse IDE, press Option+Shift+M (Mac), Alt+Shift+M (Windows, Linux).

What else uses Alt+Shift+M?

More Eclipse shortcuts: refactoring

ActionMacWindowsLinux
RenameOptionShiftRAltShiftRAltShiftR
Extract a local variableOptionShiftLAltShiftLAltShiftL
InlineOptionShiftIAltShiftIAltShiftI
Refactor menuOptionShiftTAltShiftTAltShiftT

All 52 Eclipse shortcuts