Android layout_width 和 layout_height Studio 烦人的弹出窗口 window
Android Studio annoying popup window for layout_width and layout_height
我在 Mac 上使用 Android Studio 2.2.3。每当我在布局资源 XML 中添加新元素时,layout_width
和 layout_height
属性都会自动完成,并且光标会跳转到 layout_width
的值(这很好).
问题是,在很短的时间后,没有做任何事情,弹出 window 和 match_parent
或 wrap_content
的文档出现,我必须关闭这个 window 手动输入 layout_width
的值。然后光标跳到 layout_height
并再次重复相同的过程。这在添加新视图时非常烦人。
任何人都可以重复这个问题,或者有人知道防止它的方法吗?
下面是问题的 GIF 动图:
这叫做"Quick Doc"
Ctrl-Q(Command + Q,在 MAC 上)在文档 window 状态之间切换(使用默认键盘映射时)。
可能的状态是:
-Hidden
-Shown to the side of the auto-complete list
-Docked as one of the tabs
如果您有不同的键盘映射,您可以在设置 -> 键盘映射中搜索此操作。该操作称为 "Quick Doc"。
Source
首选项 > 编辑器 > 常规 > CodeCompletion > 取消选中自动弹出功能
你能验证一下
File -> Settings -> Editor -> General -> "Other" section... "Show Quick Documentation on mouse move" is Unchecked?
这是相同的视觉效果:
Windows && Linux (ubuntu) :
File > Settings > Editor > General > Code Completion
对于Mac:
File > Preferences > Editor > General > Code Completion
未选中:自动弹出文档
我在 Mac 上使用 Android Studio 2.2.3。每当我在布局资源 XML 中添加新元素时,layout_width
和 layout_height
属性都会自动完成,并且光标会跳转到 layout_width
的值(这很好).
问题是,在很短的时间后,没有做任何事情,弹出 window 和 match_parent
或 wrap_content
的文档出现,我必须关闭这个 window 手动输入 layout_width
的值。然后光标跳到 layout_height
并再次重复相同的过程。这在添加新视图时非常烦人。
任何人都可以重复这个问题,或者有人知道防止它的方法吗?
下面是问题的 GIF 动图:
这叫做"Quick Doc"
Ctrl-Q(Command + Q,在 MAC 上)在文档 window 状态之间切换(使用默认键盘映射时)。
可能的状态是:
-Hidden
-Shown to the side of the auto-complete list
-Docked as one of the tabs
如果您有不同的键盘映射,您可以在设置 -> 键盘映射中搜索此操作。该操作称为 "Quick Doc"。
Source
首选项 > 编辑器 > 常规 > CodeCompletion > 取消选中自动弹出功能
你能验证一下
File -> Settings -> Editor -> General -> "Other" section... "Show Quick Documentation on mouse move" is Unchecked?
这是相同的视觉效果:
Windows && Linux (ubuntu) :
File > Settings > Editor > General > Code Completion
对于Mac:
File > Preferences > Editor > General > Code Completion
未选中:自动弹出文档