问题
I'm new to Android Studio, and wanted to know if there are any shortcut / option to re-open the last closed tab.
回答1:
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.
回答2:
There is shortcut for accessing previous tab, below shortcut will open popup window with recently opened tab. For this press ctrle(windows) cmd+e(mac) it will show a popup window for the files you visited previously.
回答3:
The shortcut is cmd[ (CtrlAlt← on Windows). It correspond to Navigate
> Back
.
It will bring your cursor where it was previously, re-opening the tab if needed, and you can do it many times.
回答4:
You may don't have to googled this thing.
There are some shortcut given in Android Studio Screen :) :)
来源:https://stackoverflow.com/questions/26164872/open-the-last-closed-tab-in-android-studio