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

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

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


当前回答

在Windows 8上。 打开控制面板。找到Windows Defender。进入设置 排除Spring/Eclipse和工作区所在的所有文件夹

其他回答

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

I also tuned vmargs and stuff. But what really sped up Eclipse on Windows is the "proper" configuration of the anti-virus software. You have to disable the on-demand scanning of packed files. jar files, and many files related to java are packed with PKZIP algorithm to spare space. Because Eclipse uses tons of java files, an anti-virus attempts to individually unpack and scan every one of them. So for Windows platform: turn off the on-demand scanning of packed files, otherwise Eclipse will be unusably slow. Please keep in mind, that disabling this unfortunately makes your system weaker against attacks, most of the malware use packers.

还有一件事可以在Windows和Linux上加速Eclipse——将JVM放在RAM磁盘中。

对于Windows,您可以使用Qsoft的商用RAM磁盘驱动程序。

对于Linux,可以使用Internet上许多文章中描述的任何一种方法。重要的是要为RAM磁盘提供比JVM大小大10%的额外空间。

来看看。这真的很重要。

在Windows 8上。 打开控制面板。找到Windows Defender。进入设置 排除Spring/Eclipse和工作区所在的所有文件夹

这个线程中的最佳实践是在ZeroTurnaround的免费Optimizer For Eclipse中实现的。

它有什么帮助?

内存分配不足 类验证开销 过多的索引和历史记录 过时或缓慢的JDK Eclipse已经过时 漫长的构建和重新部署时间

要了解更多细节,请查看RebelLabs的这篇文章。