While editing an XML layout file, I would like Eclipse to display content proposals.
在编辑XML布局文件时,我希望Eclipse显示内容提议。
E.g. when I type in "marg" and press Cmd+Space
, it should offer me a dropdown list of
例如。当我输入“marg”并按下Cmd + Space时,它应该为我提供一个下拉列表
layout_marginLeft
, layout_marginRight
etc.
layout_marginLeft,layout_marginRight等。
How can I set this keybinding?
如何设置此键绑定?
(On Mac it is by default Ctrl+Space, but I want it to be Cmd+Space)
(在Mac上它默认为Ctrl + Space,但我希望它是Cmd + Space)
2 个解决方案
#1
0
Command+Space
usually brings up Spotlight. You'll have to turn this off first.
Command + Space通常会带来Spotlight。你必须先关闭它。
- Go to
System Preferences / Spotlight
. - Disable or remap
Command+Space
.
转到系统偏好设置/ Spotlight。
禁用或重新映射Command + Space。
Then in Eclipse:
然后在Eclipse中:
- Go to
Eclipse / Preferences
. - Select
General / Keys
. - Select
Content Assist
in the list. - Delete the
^Space
in the binding textbox. - Type in
Command+Space
.
转到Eclipse / Preferences。
选择常规/键。
在列表中选择内容辅助。
删除绑定文本框中的^ Space。
输入Command + Space。
#2
0
If you go to
如果你去
Eclipse > Preferences > Keys
find the option 'Content Assist' and changing the binding to cmd + space.
找到“内容辅助”选项并将绑定更改为cmd +空格。
#1
0
Command+Space
usually brings up Spotlight. You'll have to turn this off first.
Command + Space通常会带来Spotlight。你必须先关闭它。
- Go to
System Preferences / Spotlight
. - Disable or remap
Command+Space
.
转到系统偏好设置/ Spotlight。
禁用或重新映射Command + Space。
Then in Eclipse:
然后在Eclipse中:
- Go to
Eclipse / Preferences
. - Select
General / Keys
. - Select
Content Assist
in the list. - Delete the
^Space
in the binding textbox. - Type in
Command+Space
.
转到Eclipse / Preferences。
选择常规/键。
在列表中选择内容辅助。
删除绑定文本框中的^ Space。
输入Command + Space。
#2
0
If you go to
如果你去
Eclipse > Preferences > Keys
find the option 'Content Assist' and changing the binding to cmd + space.
找到“内容辅助”选项并将绑定更改为cmd +空格。