Rename symbol: the shortcut in 9 apps
On Mac it is usually F2 (3 of 8 apps); on Windows it is usually F2 (3 of 9 apps); on Linux it is usually F2 (3 of 8 apps). The table shows where each app agrees and where it differs.
| App | Mac | Windows | Linux |
|---|---|---|---|
| CursorRename symbol | F2 | F2 | F2 |
| EclipseRename | OptionShiftR | AltShiftR | AltShiftR |
| IntelliJRename | ShiftF6 | ShiftF6 | ShiftF6 |
| Visual StudioRename | — | CtrlR,CtrlR | — |
| NeovimRename the symbol · Normal mode, language server attached | G,R,N | G,R,N | G,R,N |
| PyCharmRename | ShiftF6 | ShiftF6 | ShiftF6 |
| VS CodeRename symbol | F2 | F2 | F2 |
| WebStormRename | ShiftF6 | ShiftF6 | ShiftF6 |
| ZedRename the symbol | F2 | F2 | F2 |
How the apps compare
- Mac: F2 in Cursor, VS Code and Zed; Shift+F6 in IntelliJ, PyCharm and WebStorm; Option+Shift+R in Eclipse; G R N in Neovim.
- Windows: F2 in Cursor, VS Code and Zed; Shift+F6 in IntelliJ, PyCharm and WebStorm; Alt+Shift+R in Eclipse; Ctrl+R Ctrl+R in Visual Studio; G R N in Neovim.
- Linux: F2 in Cursor, VS Code and Zed; Shift+F6 in IntelliJ, PyCharm and WebStorm; Alt+Shift+R in Eclipse; G R N in Neovim.
Where and when it works
- Neovim (Normal mode, language server attached).
Learn it by pressing it: Cursor shortcuts practice, 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.