简体   繁体   English

禁用Eclipse ** VARIABLES **自动完成

[英]Disabling Eclipse **VARIABLES** auto completion

As the title says I want to disable Eclipse auto completion for VARIABLES names. 如标题所示,我想对VARIABLES名称禁用Eclipse自动完成功能。

Like when i start to type String s and then space it completes the variable name to string. 就像当我开始键入String s ,然后用空格隔开时,它完成了将变量名转换为string一样。 But i want it to be s. 但我希望它是s。 I know I can use Esc when the suggestion comes and keep going , but still, there is a way in Eclipse to disable this feature? 我知道我可以在建议到来时继续使用Esc ,但是仍然可以在Eclipse中禁用此功能吗?

Thank you. 谢谢。

The auto completion is controlled by Content Assist. 自动完成由Content Assist控制。 The settings for this are at: "Window -> Preferences" then "Java -> Editor -> Content Assist". 设置如下:“窗口->首选项”,然后是“ Java->编辑器->内容辅助”。 But there is no option to specifically exclude only Java variables. 但是没有选择专门排除Java变量。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM