在Eclipse Content Assist中禁用空间上的语句完成 [英] Disable statement completion on space in Eclipse Content Assist
本文介绍了在Eclipse Content Assist中禁用空间上的语句完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有一种方法可以禁用Eclipse的自动完成功能,该功能会在按下空格时在Java Content Assist中插入当前选择的语句?
Is there a way to disable auto-completion feature of Eclipse, which inserts currently selected statement in Java Content Assist when pressing space?
我仍然希望输入回车键(仅用于输入)具有这种行为.
I still want to have such a behavior for enter key (and only for enter).
推荐答案
自Eclipse 2018-12(4.10)开始,对此存在偏爱:
Since Eclipse 2018-12 (4.10) there is a preference for that:
在 窗口>首选项:Java>编辑器> Content Assist 中,选中复选框 禁用除"Enter"以外的插入触发器
In Window > Preferences: Java > Editor > Content Assist check the checkbox Disable insertion triggers except 'Enter'
另请参阅:
- Eclipse 4.10 - New and Noteworthy - Disable completion insertion triggers
- The feature here in this video in action.
这篇关于在Eclipse Content Assist中禁用空间上的语句完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文