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

查看:431
本文介绍了如何使用键盘快捷键隐藏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. 我在演示模式下看不到标签名称.我的替代解决方案允许这样做,但是有点麻烦.

推荐答案

作为一种解决方法,您可以将这些项目的状态记录为宏,并将其绑定到快捷方式.宏录制可以在 Edit 菜单中找到.我有这样一种解决方法,可以通过播放 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天全站免登陆