繁体   English   中英

android studio ctrl + space打开文档窗口

[英]android studio ctrl + space opens documentation window

我已将Android Studio更新为最新版本,但现在当我使用CTRL + SPACE调用自动完成/建议时,会打开建议框,但文档窗口也会打开。

有没有人经历过这个并知道如何禁用文档窗口的打开?

我在OSX上使用Android Studio 0.8.1,并且遇到了同样的恼人行为。

@ daniel-gabriel的答案不是我想要的。

一个更好的解决方案似乎是转到Preferences > IDE Settings section > Editor > Code Completion (在位于Preferences->Editor->General Editor- Preferences->Editor->General中的AS 1.2.2中)并取消选项(ms)中的Autopopup文档:

Ctrl-Q在文档窗口状态之间切换(使用默认键映射时)。

可能的状态是:

-Hidden
-Shown to the side of the auto-complete list
-Docked as one of the tabs

如果您有不同的键盘映射,则可以在“设置” - >“键盘映射”中搜索此操作。 该操作称为“Quick Doc”。

对于ubuntu 14.04: 文件>设置>编辑器>常规>代码完成

并且解开Autopopup文档将隐藏它。

对于Windwos && Linux (ubuntu):

File > Settings > Editor > General > Code Completion

对于Mac

Android Studio > Preferences > Editor > General > Code Completion

1. unChecked:AutoPopup文档(在CodeCompletion中)

2. unChecked:AutoPopup(在参数信息中)


在此输入图像描述

在Mac OSX上,要将“文档”窗口恢复为自动隐藏弹出窗口,请从弹出窗口齿轮图标中将弹出窗口工具栏切换到选中状态,然后单击文档窗口工具栏中的“恢复弹出窗口”图标。

我更喜欢更快的解决方案......

Press Ctrl + Space and let the "Documentation" window pop-up.

1) Click on the Settings icon and uncheck all the options except "Docked Mode".
2) Now push documentation window to the right, so as to make it invisible.

With this even though with press of "Ctrl + Space", internally command will pass 
to open the Documentation Window but it will not be visible and interfere with the 
workspace.

文档窗口 -  Android Studio

我希望有所帮助。 快乐编码......

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM