Skip to content

↑↓ moveEnter openEsc close

Close the editor tab in IntelliJ

IntelliJ 2025.3 · 61 shortcuts · checked Nov 2026 · Source: JetBrains docs

In IntelliJ IDEA, press Cmd+W (Mac), Ctrl+F4 (Windows, Linux).

What else uses Cmd+W? · What else uses Ctrl+F4?

More IntelliJ shortcuts: tool windows and vcs

ActionMacWindowsLinux
Project tool windowCmd1Alt1Alt1
TerminalOptionF12AltF12AltF12
Hide all tool windowsShiftCmdF12CtrlShiftF12CtrlShiftF12
CommitCmdKCtrlKCtrlK
PushShiftCmdKCtrlShiftKCtrlShiftK
Update the project (pull)CmdTCtrlTCtrlT
SettingsCmd,CtrlAltSCtrlAltS

All 61 IntelliJ shortcuts