簡體   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