简体   繁体   English

android studio ctrl + space打开文档窗口

[英]android studio ctrl + space opens documentation window

I have updated my Android Studio to the newest version, but now when I call the auto-completion/suggestions with CTRL + SPACE the suggestion box opens but the documentation window opens as well. 我已将Android Studio更新为最新版本,但现在当我使用CTRL + SPACE调用自动完成/建议时,会打开建议框,但文档窗口也会打开。

Has anyone experienced this and know how to disable the opening of the documentation window? 有没有人经历过这个并知道如何禁用文档窗口的打开?

I'm using Android Studio 0.8.1 on OSX and have been experiencing the same irritating behavior. 我在OSX上使用Android Studio 0.8.1,并且遇到了同样的恼人行为。

The answer by @daniel-gabriel was not was I was looking for. @ daniel-gabriel的答案不是我想要的。

A better solution seems to be to go to Preferences > IDE Settings section > Editor > Code Completion (in AS 1.2.2 located in Preferences->Editor->General ) and unticking the option Autopopup documentation in (ms): 一个更好的解决方案似乎是转到Preferences > IDE Settings section > Editor > Code Completion (在位于Preferences->Editor->General Editor- Preferences->Editor->General中的AS 1.2.2中)并取消选项(ms)中的Autopopup文档:

Ctrl-Q toggles between doc window states (when using the default keymap). Ctrl-Q在文档窗口状态之间切换(使用默认键映射时)。

Possible states are: 可能的状态是:

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

If you have a different keymap, you can search for this action in Settings -> Keymap. 如果您有不同的键盘映射,则可以在“设置” - >“键盘映射”中搜索此操作。 The action is called "Quick Doc". 该操作称为“Quick Doc”。

For ubuntu 14.04 : File > Settings > Editor > General > Code Completion 对于ubuntu 14.04: 文件>设置>编辑器>常规>代码完成

And unticking Autopopup Documentation will hide it. 并且解开Autopopup文档将隐藏它。

For Windwos && Linux (ubuntu) : 对于Windwos && Linux (ubuntu):

File > Settings > Editor > General > Code Completion

For Mac : 对于Mac

Android Studio > Preferences > Editor > General > Code Completion

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

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


在此输入图像描述

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

I prefer the quicker solutions... 我更喜欢更快的解决方案......

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

I hope that helps. 我希望有所帮助。 Happy Coding... 快乐编码......

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

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