Shortcut to close a opened tab in android studio
Android StudioAndroid Studio Problem Overview
What is the shortcut to close the opened tab in android studio?
I'm new to the android studio. I tried with CTRL+W. It's not working. I searched for a while. But I haven't get it. Any one please provide me the shortcut to close the opened tab.
Android Studio Solutions
Solution 1 - Android Studio
You can try pressing CTRL+F4 in order to close opened tabs in Android Studio
Solution 2 - Android Studio
As mentioned above, type CTRL + ALT + S to get into settings and in the keymap dialog search for Close
, but the thing you want to reassign is
Close Active Editor
Solution 3 - Android Studio
For Mac it is not set by default. Here is how I did it.
Android Studio 4.1 > Preferences > Keymap
search for Close Active Editor
right click > Add Keyboard Shortcut
. Then assign anything you want. Alt+W is a good one.
Solution 4 - Android Studio
If you right click on a tab header, the context menu shows you the current key binding next to the word Close (by default Ctrl+F4).
Solution 5 - Android Studio
Follow the steps mentioned in other comments (type CTRL + ALT + S to get into settings and in the keymap dialog search for Close) and what you actually need to change is [editor tabs] / [close]
(android studio 3.6.1)
Solution 6 - Android Studio
On a Mac, it's command
+ F4
.
If you're like me, you may have to do command
+ fn
+ F4