1.打开IDEA设置页面:File->Settings->Editor->General->Editor Tabs
2.在右侧When the current tab is closed, activate:选择Most recently opened tab
1.打开IDEA设置页面:File->Settings->Editor->General->Editor Tabs
2.在右侧When the current tab is closed, activate:选择Most recently opened tab