Skip to content

↑↓ moveEnter openEsc close

Quick fix: the shortcut in 8 apps

8 apps · Mac, Windows and Linux

On Mac it is usually Option+Enter (3 of 7 apps); on Windows it is usually Alt+Enter (3 of 8 apps); on Linux it is usually Alt+Enter (3 of 7 apps). The table shows where each app agrees and where it differs.

AppMacWindowsLinux
EclipseQuick fixCmd1Ctrl1Ctrl1
IntelliJShow intention actions and quick fixesOptionEnterAltEnterAltEnter
Visual StudioQuick actions and refactorings—Ctrl.orAltEnter—
NeovimCode actions · Normal mode, language server attachedG,R,AG,R,AG,R,A
PyCharmShow intention actions and quick fixesOptionEnterAltEnterAltEnter
VS CodeQuick FixCmd.Ctrl.Ctrl.
WebStormShow intention actions and quick fixesOptionEnterAltEnterAltEnter
ZedShow code actionsCmd.Ctrl.Ctrl.

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+Enter in IntelliJ, PyCharm and WebStorm; Cmd+. in VS Code and Zed; Cmd+1 in Eclipse; G R A in Neovim.
  • Windows: Alt+Enter in IntelliJ, PyCharm and WebStorm; Ctrl+. in Visual Studio, VS Code and Zed; Ctrl+1 in Eclipse; G R A in Neovim.
  • Linux: Alt+Enter in IntelliJ, PyCharm and WebStorm; Ctrl+. in VS Code and Zed; Ctrl+1 in Eclipse; G R A in Neovim.

Where and when it works

  • Neovim (Normal mode, language server attached).

Learn it by pressing it: Eclipse shortcuts practice, IntelliJ shortcuts practice, Visual Studio shortcuts practice, Neovim shortcuts practice, PyCharm shortcuts practice, VS Code shortcuts practice, WebStorm shortcuts practice or Zed shortcuts practice.