在 Android Studio 中打开最后一个关闭的选项卡 [英] Open the last closed tab in Android Studio
问题描述
我是 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.
推荐答案
没有分配快捷方式,但您可以轻松分配新的快捷方式:
There is no shortcut assigned, but you can easily assign a new one:
转到 IDE 设置 |键盘映射 |主菜单 |窗口 |编辑器标签 |重新打开关闭的标签
(在过滤器字段中输入reopen
以更快地找到它),右键单击该项目并选择添加键盘快捷键
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
更新:如另一个答案所述,您还可以使用 Ctrl + E 查看所有最近查看的文件的列表.此外,您可以使用 Ctrl + Shift + E 查看所有最近 编辑 文件的列表,即在处理多个文件时很方便.
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.
这篇关于在 Android Studio 中打开最后一个关闭的选项卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!