简体   繁体   English

Eclipse如何为=禁用自动完成功能

[英]Eclipse How to Disable Autocomplete For =

I am using eclipse mars. 我正在使用蚀火星。 I have turned on on autocomplete in content assist for Java with 我已经在Java的内容辅助中打开了自动完成功能

.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@

for the activation triggers. 用于激活触发器。

This has created a situation where the = character is now automatically filling in text when I don't want it to. 这就造成了这样的情况,当我不希望=字符现在自动填充文本时。 I will type the left hand side: 我将输入左侧:

public void method(String param1, String param2) {
    String someString
}

then type = and this becomes: 然后输入=,它将变为:

public void method(String param1, String param2) {
    String someString param1=
}

It seems like it is autofilling with the first parameter from the method. 似乎正在使用方法中的第一个参数自动填充。

Is there some way to keep autofill without having = triggering autocomplete? 有什么方法可以保持自动填充而无需触发自动完成吗?

原来重新启动Eclipse解决了这个问题。

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

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