如何使用键盘快捷键隐藏 Android Studio 中的所有工具栏/窗口和按钮? [英] How to hide all toolbar/windows and buttons in Android Studio with a keyboard shortcut?

查看:40
本文介绍了如何使用键盘快捷键隐藏 Android Studio 中的所有工具栏/窗口和按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道隐藏所有工具窗口"的快捷方式,但它只会最小化窗口,并没有真正隐藏工具栏.

I know of the shortcut "Hide all tool windows" but that only minimizes the windows, it doesn't really hide the toolbars as well.

我要的是一个键盘快捷键,基本上可以隐藏所有工具窗口 + 隐藏(工具栏、工具栏、状态栏、导航栏),否则我每次都必须手动从查看文件"菜单中切换.

What i'm asking for is a keyboard shortcut to basically hide all tool windows + hide (toolbar, tool bar, status bar, navigation bar) which i otherwise have to manually go and toggle each time from the View File menu.

从这里:

为此:

到目前为止,我发现的最佳选择是将它们全部隐藏.转到查看"菜单并开始隐藏它们(工具按钮、状态栏、导航栏).

So far, the best alternative i've found is to just hide them all. Go to the View menu and start hiding them all (Tool Buttons, Status bar, Navigation bar).

Android Studio/IntelliJ 非常聪明地根据需要向您显示正确的内容,例如,如果您启动您的应用,运行"选项会出现等,并自动隐藏.

Android Studio/IntelliJ is pretty intelligent about showing you the right things as required, like if you start your app the "Run" options show up etc. and auto-hide.

我很想拥有一个可以一举自动隐藏/显示的键盘快捷键.

I would love to have a keyboard shortcut that auto-hides/shows for me in one fell swoop.

另一个不错的选择是使用@MrEngineer13 在下面建议的演示模式",但我不喜欢演示模式的原因(在减小字体大小后):

Another nice alternative is to use the "Presentation mode" as @MrEngineer13 has suggested below, but the reason i don't like the presentation mode (after reducing the font size):

  1. 它在 OSX 上的一个独立空间中打开它.我可以在操作系统级别禁用它(正如@Jerry101 指出的那样,但我希望某些其他应用程序使用独立空间).
  2. 我在演示模式下看不到标签名称.我的替代解决方案允许这样做,但有点麻烦.

推荐答案

作为一种解决方法,您可以将切换这些项目的状态记录为宏并将其绑定到快捷方式.宏录制可以在编辑菜单中找到.我有这样一种解决方法,可以通过播放 ResizeToolWindowUp/Down 操作大约 10 次来(取消)最大化控制台窗口.缺点是宏不知道当前状态,因此如果一个元素已经隐藏,它将被切换为可见.

As a workaround, you can record toggling the state of those items as a macro and bind it to a shortcut. Macro recording can be found in the Edit menu. I have such a workaround to (un)maximize the console window by playing back the ResizeToolWindowUp/Down action about 10 times. The downside is that macros aren't aware of the current state, so if one element is already hidden, it will be toggled to become visible.

这篇关于如何使用键盘快捷键隐藏 Android Studio 中的所有工具栏/窗口和按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆