关闭IntelliJ IDEA中的选项卡时,更改为最近使用的选项卡? [英] Change to most recently used tab when closing a tab in IntelliJ IDEA?
问题描述
当我关闭IntelliJ中的编辑器选项卡时,接下来会打开直接显示在其右侧的选项卡。相反,我宁愿打开最近使用的标签。
When I close an editor tab in IntelliJ, the tab that appears directly to the right of it gets opened next. Instead, I would rather have the most recently used tab open instead.
例如,如果我打开这些标签:
For example, if I have these tabs open:
Foo.java (currently viewed)
Bar.java
然后我使用CMD + SHIFT + N打开 Baz.java
,它现在看起来像这样:
And then I use CMD+SHIFT+N to open Baz.java
, it now looks like this:
Foo.java
Baz.java (currently viewed)
Bar.java
如果我关闭 Baz.java
,而不是返回 Foo.java
,它转到 Bar.java
。
If I then close Baz.java
, rather than returning to Foo.java
, it goes to Bar.java
.
Foo.java
Bar.java (currently viewed)
如何配置编辑器返回最近使用的选项卡?
How can I configure the editor to go back to the most recently used tab?
推荐答案
转到设置/编辑器/常规/编辑器选项卡
Go to Settings/Editor/General/Editor Tabs
并为关闭活动编辑器选项选择激活最近打开的选项卡。
这篇关于关闭IntelliJ IDEA中的选项卡时,更改为最近使用的选项卡?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!