android studio ctrl + space opens documentation window

后端 未结 6 891
醉梦人生
醉梦人生 2020-12-07 18:03

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 bu

相关标签:
6条回答
  • 2020-12-07 18:08

    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)


    0 讨论(0)
  • 2020-12-07 18:09

    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.

    0 讨论(0)
  • 2020-12-07 18:13

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

    And unticking Autopopup Documentation will hide it.

    0 讨论(0)
  • 2020-12-07 18:19

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

    0 讨论(0)
  • 2020-12-07 18:29

    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.
    

    I hope that helps. Happy Coding...

    0 讨论(0)
  • 2020-12-07 18:30

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

    0 讨论(0)
提交回复
热议问题