【我的Android进阶之旅】 Android Studio 使用小技巧:快速Close Others其他的文件

一、效果

今天看到 【Tip of the Day】,有两种方式关闭掉其他的tabs,如下所示:

There are two ways of closing all tabs in the editor, except the current one:

  • First, right-click the editor tab, and choose Close Others on the context menu.
  • Second, keeping the Alt key pressed, click x on the editor tab.

在这里插入图片描述

1.1 点击鼠标右键,然后选择【Close Others】

第一种方式:在选定的tab上,点击鼠标右键,然后选择【Close Others】,如下所示:
在这里插入图片描述
点击【Close Others】之后,只保留选中的Tab,如下所示:
在这里插入图片描述

1.2 按住 Alt键 然后点击 x号

把鼠标悬浮在 选中的tab的 x号 附近,会显示出提示框提示 按住 Alt键 然后点击 x号 就会 Close Others

在这里插入图片描述
按住Alt键 点击 x号,就会执行Close Others,只保留选中的Tab,如下所示:
在这里插入图片描述
掌握了第二个小技巧的话,明显比方式一效率高!


作者:欧阳鹏 欢迎转载,与人分享是进步的源泉!
转载请保留原文地址:https://blog.csdn.net/qq446282412/article/details/91809907
☞ 本人QQ: 3024665621
☞ QQ交流群: 123133153
☞ github.com/ouyangpeng
[email protected]


发布了469 篇原创文章 · 获赞 1467 · 访问量 359万+

猜你喜欢

转载自blog.csdn.net/qq446282412/article/details/91809907
今日推荐