I apologize for the general question, but I could not find how to close tabs in the studio ...

When I work with a project in my settings, it is worth displaying tabs up to 25 pieces, but when I finish working on a task, I have to reach for each cross and close these tabs (so as not to mazolili eyes).

I have Ubuntu when I work in chrome, the Ctrl + W key combination closes the current tab, and the Ctrl + Shift + W combination closes all available tabs.

Is there such an opportunity in the studio?

  • Hot keys to close the tab \ all tabs? - pavlofff
  • @pavlofff yes they are - Aleksey Timoshchenko

2 answers 2

In the default settings, Ctrl + F4 - close the current tab (It is better to bind other buttons, because it can be thrown at the 4th table). Hotkeys at the closure of all tabs are not included, that is, you need to bind yourself:

  1. You need to go to the settings ( Ctrl + Alt + s `)
  2. Key map
  3. In the search bar, enter Close , and in the Editor Tabs submenu (if you do not use the search, then Main menu -> Window -> Editor Tabs ) are the necessary items Close, Close All (and also three other actions with closing tabs.

Android Studio keymap

    In Windows, you can close the current tab CTRL + F4 , you are not assigned to close all tabs by default, but you can assign them yourself by following: File -> Setings .. -> Keymap

    scrn

    Here you can also set your own keyboard shortcuts and find out what other hotkeys are there.

    To quickly search for hot keys, they are signed next to the menu items that will be accessed when they are pressed. / So when you right-click on the tab, we will see the actions available for this tab and the attached hot keys:

    scrn