I love intellij's file tab but I can't seem to find a way to shortcut closing a tab similar to the behavior of ctrl + w
in chrome. I can't find the option in the keymap editor. Am I missing something or is this not implemented?
I found this page but it doesn't include the action name. I would use ctrl + f4
but my window manager has that reserved and I would rather change it.
On Windows, Chromebook, or Linux, to quickly close an open Chrome tab, press the Ctrl+W shortcut on your keyboard. This will instantly close your tab. On Mac, press the Command+W shortcut to close an open tab in Chrome.
To close all opened tabs, select Window | Editor Tabs | Close All Tabs from the main menu.
In Eclipse, if the cursor is over a word and you press Ctrl + K you will jump to the next occurrence of that word in the file. Is there a similar shortcut in IntelliJ? eclipse intellij-idea.
Settings
by hitting Ctrl+Alt+S
Keymap
Close
Main menu > Window > Editor Tabs
, find Close
.Remove Ctrl+F4
.Add Keyboard Shortcut
IntelliJ will tell you if the shortcut clashes with another shortcut performing a different action.
Alternatively, open/edit your Linux Window Manager Settings and remove the Ctrl+F4
mapping to allow other programs like IntelliJ to make use of it.
For PC-based keyboards, the shortcut to close tabs is CTRL + F4,
not to be confused with ALT+F4.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With