Quick fix: the shortcut in 8 apps
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.
| App | Mac | Windows | Linux |
|---|---|---|---|
| EclipseQuick fix | Cmd1 | Ctrl1 | Ctrl1 |
| IntelliJShow intention actions and quick fixes | OptionEnter | AltEnter | AltEnter |
| Visual StudioQuick actions and refactorings | — | Ctrl.orAltEnter | — |
| NeovimCode actions · Normal mode, language server attached | G,R,A | G,R,A | G,R,A |
| PyCharmShow intention actions and quick fixes | OptionEnter | AltEnter | AltEnter |
| VS CodeQuick Fix | Cmd. | Ctrl. | Ctrl. |
| WebStormShow intention actions and quick fixes | OptionEnter | AltEnter | AltEnter |
| ZedShow code actions | Cmd. | Ctrl. | Ctrl. |
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.