如何在Eclipse for Android中更改Control + Space自动完成快捷键 [英] How to change the Control+Space autocomplete shortcut keys in Eclipse for Android
问题描述
当我进入Android xml文件(例如活动菜单)并输入
When I am in an Android xml file (an activity menu, for example) and type
android:
然后会弹出自动完成功能,我可以选择一个选项.但是,如果我有类似的东西
then autocomplete pops up and I can select an option. However, if I have something like
android:showAsAction=""
将光标放在引号内,那么引号内的选项不会自动完成.我听说按Control + Space应该可以执行此操作,但是在我的计算机上,Control + Space用于切换语言输入法. Eclipse中有没有办法更改此快捷键?
with my cursor inside the quotes, then I don't get an autocomplete for options inside the quotes. I've heard that pressing Control+Space should do that but on my computer Control+Space is used to switch the language input method. Is there a way in Eclipse to change this shortcut key?
推荐答案
要更改键盘快捷键,请访问:
To change your keyboard shortcuts go to:
- 窗口
- 首选项
- 常规
- 键
您可以在此处过滤列表以找到"内容辅助"并分配所需的值.
From there you can filter the list to find "content assist" and assign the value you'd like.
这篇关于如何在Eclipse for Android中更改Control + Space自动完成快捷键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!