Skip to content

↑↓ moveEnter openEsc close

Extract a local variable in Eclipse

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

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

What else uses Alt+Shift+L?

More Eclipse shortcuts: refactoring

ActionMacWindowsLinux
RenameOptionShiftRAltShiftRAltShiftR
Extract methodOptionShiftMAltShiftMAltShiftM
InlineOptionShiftIAltShiftIAltShiftI
Refactor menuOptionShiftTAltShiftTAltShiftT

All 52 Eclipse shortcuts