Eclipse 警告:“内容辅助过程中出现问题”

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12871947/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 19:11:40  来源:igfitidea点击:

Eclipse warning: "problems during content assist"

eclipse

提问by Marco-

Every time I start Eclipse and press Ctrl + SpaceI get the following 3 warning popups.

每次启动 Eclipse 并按下时,Ctrl + Space我都会收到以下 3 个警告弹出窗口。

http://imgur.com/a/2pKdm

http://imgur.com/a/2pKdm

They are only appearing the first time I press Ctrl + Space. I get these warnings since i reinstalled the jdk.

它们仅在我第一次按下时出现Ctrl + Space。自从我重新安装 jdk 以来,我收到了这些警告。

I already tried to re-install eclipse, but as soon as I import my old projects the warnings seems to reappear. I currently have the following java versions installed:

我已经尝试重新安装 eclipse,但是一旦我导入我的旧项目,警告似乎就会重新出现。我目前安装了以下 Java 版本:

JVE 7_u7 32bit;  
JVE 7_u7 64bit;  
JDK 7_u7 64bit;  
JDK 7_u7 32bit.

I added all of them in the PATH variable in the same order as listed above. I also have eclipse set to use the JDK 7_u7 64bit(btw I'm using eclipse 64bit).

我按照上面列出的顺序将它们全部添加到 PATH 变量中。我也将 eclipse 设置为使用JDK 7_u7 64bit(顺便说一句,我使用的是 eclipse 64bit)。

I hope somebody knows a solution for my problem and excuse me for my bad english, I am not an native English speaker. ;)

我希望有人知道我的问题的解决方案,请原谅我的英语不好,我的母语不是英语。;)

回答by mkebri

You can resolve this issue by turning off Subwords-Completion in: Window > Preferences > Code Recommenders > Completions: ==> incheck(Subwords-Completion)

您可以通过在以下位置关闭 Subwords-Completion 来解决此问题:Window > Preferences > Code Recommenders > Completions: ==> incheck(Subwords-Completion)

enter image description here

在此处输入图片说明

回答by rajeev pani..

I got the similar type of warning is eclipse spring tool suite(sts) .I unchecked CodeRecommendors Proposals(addons) which is present 2 times in the above list and below list and it worked.To do it go to window-->preferences-->java-->editor-->Content Assist-->advanced.see the screenshot.enter image description here

我得到了类似类型的警告是 eclipse spring 工具套件(sts)。我取消选中 CodeRecommendors Proposals(addons),它在上面的列表和下面的列表中出现了 2 次并且它起作用了。要做到这一点,请转到窗口-->首选项- ->java-->editor-->Content Assist-->advanced.看截图。在此处输入图片说明

回答by Anshu

You can configure content assist and disable the triggers in content assist. This linkprovides information on setting content assist preference.

您可以配置内容辅助并禁用内容辅助中的触发器。此链接提供有关设置内容辅助首选项的信息。

enter image description here

在此处输入图片说明