Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Open the last closed tab in Android Studio

I'm new to Android Studio, and wanted to know if there are any shortcut / option to re-open the last closed tab.

like image 452
Jose Garcia Avatar asked Oct 02 '14 16:10

Jose Garcia


People also ask

What is the command to open last closed tab?

Chrome keeps the most recently closed tab just one click away. Right-click a blank space on the tab bar at the top of the window and choose Reopen closed tab. You can also use a keyboard shortcut to accomplish this: CTRL + Shift + T on a PC or Command + Shift + T on a Mac.


2 Answers

There is no shortcut assigned, but you can easily assign a new one:

Go to IDE settings | Keymap | Main menu | Window | Editor Tabs | Reopen Closed Tab (type reopen into the filter field to find it faster), right click on that item and select Add Keyboard Shortcut

Update: As stated in another answer, you can also use Ctrl + E to see a list of all recently viewed files. Additionally, you can use Ctrl + Shift + E to see a list of all recently edited files, which is handy when working on multiple files.

like image 143
Darek Kay Avatar answered Sep 25 '22 05:09

Darek Kay


For Windows -> ctrl+e

For macOS -> cmd+e

It will show a popup window for the files you visited previously.

like image 20
realpranav Avatar answered Sep 21 '22 05:09

realpranav