Android 工作室 ctrl + space 打开文档窗口

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

是否有人经历过这种情况并知道如何禁用文档窗口的打开?

27222 次浏览

Ctrl-Q toggles between doc window states (when using the default keymap).

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".

I'm using Android Studio 0.8.1 on OSX and have been experiencing the same irritating behavior.

The answer by @daniel-gabriel was not was I was looking for.

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):

On Mac OSX, to restore the Documentation window to an auto-hide popup, toggle the popup window toolbar to checked state, from the popup windows gear icon, and then click "Restore Popup" icon in the documentation window toolbar.

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.

Documentation Window - Android Studio

I hope that helps. Happy Coding...

For ubuntu 14.04 : File > Settings > Editor > General > Code Completion

And unticking Autopopup Documentation will hide it.

For Windwos && Linux (ubuntu) :

File > Settings > Editor > General > Code Completion

For Mac :

Android Studio > Preferences > Editor > General > Code Completion

1. unChecked : AutoPopup documentation (in CodeCompletion)

2. unChecked : AutoPopup (in Parameter Info)


enter image description here