Skip to content

↑↓ moveEnter openEsc close

Extract variable: the shortcut in 4 apps

4 apps · Mac, Windows and Linux

On Mac it is usually Option+Cmd+V (2 of 4 apps); on Windows it is usually Ctrl+Alt+V (3 of 4 apps); on Linux it is usually Ctrl+Alt+V (3 of 4 apps). The table shows where each app agrees and where it differs.

AppMacWindowsLinux
EclipseExtract a local variableOptionShiftLAltShiftLAltShiftL
IntelliJExtract variableOptionCmdVCtrlAltVCtrlAltV
PyCharmExtract variableOptionCmdVCtrlAltVCtrlAltV
WebStormExtract variableOptionCmdVCtrlAltVCtrlAltV

Small screen: your system's keys only. Open an app's row for every system.

A dash means the app has no default binding, or does not run, on that system. Open a row for notes and the full key details.

How the apps compare

  • Mac: Option+Cmd+V in PyCharm and WebStorm; Option+Shift+L in Eclipse; Cmd+Option+V in IntelliJ.
  • Windows: Ctrl+Alt+V in IntelliJ, PyCharm and WebStorm; Alt+Shift+L in Eclipse.
  • Linux: Ctrl+Alt+V in IntelliJ, PyCharm and WebStorm; Alt+Shift+L in Eclipse.

Learn it by pressing it: Eclipse shortcuts practice, IntelliJ shortcuts practice, PyCharm shortcuts practice or WebStorm shortcuts practice.