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

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

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


当前回答

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

其他回答

禁用标签装饰可以获得另一种性能提升 (Windows ->首选项;概述->外观->标签装饰) 在启动时禁用未使用的功能 (Windows ->首选项;一般->启动和关闭)。

您还可以根据JVM选择不同的垃圾收集策略来获得额外的性能。

如果你厌倦了重启周期,你可以使用ZeroTurnaround的JavaRebel。这将缩短重启服务器/客户端的时间。

在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.