Skip to content

↑↓ moveEnter openEsc close

Generate code: the shortcut in 3 apps

3 apps · Mac, Windows and Linux

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

AppMacWindowsLinux
EclipseSource menu (generate getters, constructors)OptionShiftSAltShiftSAltShiftS
IntelliJGenerate code (getters, constructors)CmdNAltInsertAltInsert
PyCharmGenerate codeCmdNAltInsertAltInsert

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: Cmd+N in IntelliJ and PyCharm; Option+Shift+S in Eclipse.
  • Windows: Alt+Insert in IntelliJ and PyCharm; Alt+Shift+S in Eclipse.
  • Linux: Alt+Insert in IntelliJ and PyCharm; Alt+Shift+S in Eclipse.

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