Eclipse 自动建议列表非常慢

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3980022/
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 15:13:07  来源:igfitidea点击:

Eclipse auto suggest list very slow

eclipseautosuggest

提问by Alin

By auto suggest, I mean that intellisense that pops up when I write something. My problem is that if I write something like btnMyButton.after typing .I get to wait a few seconds until eclipse populates the list with events for button. I am using Eclipse to develop Android applications.

通过自动建议,我的意思是当我写东西时弹出的智能感知。我的问题是,如果我btnMyButton.在输入之后写一些类似的东西,.我会等待几秒钟,直到 Eclipse 用按钮事件填充列表。我正在使用 Eclipse 开发 Android 应用程序。

Can this be sped up? I have a Quad Core processor and 4 GB of ram. The rest of Eclipse is working fine.

这能加速吗?我有一个四核处理器和 4 GB 的内存。Eclipse 的其余部分工作正常。

采纳答案by davehale23

I was also experiencing this problem. I found my answer here:

我也遇到了这个问题。我在这里找到了我的答案:

https://groups.google.com/group/android-developers/browse_thread/thread/85dc1aae3bafff5e

https://groups.google.com/group/android-developers/browse_thread/thread/85dc1aae3bafff5e

In summary:

总之:

turn off JAX-WS Proposals in Content Assist

在 Content Assist 中关闭 JAX-WS 建议

Window > Preferences --> Java > Editor > Content Assist > Advanced

窗口 > 首选项 --> Java > 编辑器 > 内容辅助 > 高级

回答by Annay Das

I unchecked "Fill method arguments and show guessed arguments" under Window > Preferences --> Java > Editor > Content Assist

我在 Window > Preferences --> Java > Editor > Content Assist 下取消选中“Fill method arguments and show guessed arguments”

This improved the content assist speed in my Eclipse

这提高了我的 Eclipse 中的内容辅助速度

回答by adi

you can add disable auto activation in Window > Preferences --> Java > Editor > Content Assist

您可以在 Window > Preferences --> Java > Editor > Content Assist 中添加禁用自动激活

This way you can activate it when you need it by Ctrl + Space

这样您就可以在需要时通过 Ctrl + Space 激活它

回答by Chris

Try clicking CTRL + Space when you want to see the menu is it still slow?

当您想查看菜单时尝试单击 CTRL + Space 仍然很慢吗?