如何使使用Eclipse的体验更快?

例如:我禁用了所有我不需要的插件(Mylyn, Subclipse,…)

我没有为Mercurial使用插件,而是将TortoiseHG配置为一个外部工具。


当前回答

转到Windows ->首选项->验证,取消选中任何你不想要或不需要的验证器。

对于Eclipse 3.7,您使用Windows ->首选项->通用->启动和关机。

其他回答

我也遇到过类似的减速,这个修复只适用于使用Eclipse的C/ c++变体的情况。对于C/ c++,你可能想要禁用索引器,它以占用CPU而闻名。它相当于VS智能感知。 要禁用CDT索引器,请进入Window->Preferences,在C/ c++选项卡下选择indexer并取消选中启用索引器。

Windows用户:

If you go to Task Manager, choose the eclipse application, and click on the little arrow next to it, you will usually just see one sub-process appear below "eclipse.exe". However, in my case, if you have multiple instances of "Java Platform SE Binary", then end all of them. For some reason, I had three of these running in the background, even though I wasn't currently running any projects. Nevertheless, this will boost performance back to the way it likely was when you first installed eclipse on your computer.

如果更改后您不能再运行项目,那么尝试重新启动eclipse。

我给了它大量的内存(在启动它的命令中添加一个- xmx开关),并尽量避免退出和重新启动它——我发现最严重的延迟是在启动时,所以给它大量的RAM可以让我在崩溃之前保持更长的时间。

虽然与Eclipse没有直接关系:

如果你运行的是Windows 7(可能还有Windows Vista),如果你的东西在默认的位置——你的主文件夹里,一定要禁用工作空间文件夹的文件索引。Windows默认会索引你主文件夹中的所有内容,这对你的工作空间来说是一种浪费。(右键单击资源管理器中的工作区文件夹,属性->高级。)

另一个技巧是禁用自动构建。