简体   繁体   中英

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.

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.

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

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

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)


在此输入图像描述

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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