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

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

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


当前回答

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。

其他回答

使用标准插件加速Eclipse的唯一真正方法是为其提供更多内存,在某些情况下还可以访问更快的存储空间/碎片整理的硬盘驱动器。

除此之外,在性能方面可以做的不多:大多数标准插件都没有持续的运行时成本,即使Mylyn也相对较快。

升级到您机器上支持的最新JVM也会有所帮助。

有些人会降级到较旧的Eclipse版本以获得更好的性能。使用Eclipse经典版而不是官方发行版可能也有意义。

如果Eclipse运行缓慢,我遵循以下几个步骤:

Any unused plugins installed in Eclipse, should uninstall them. -- Few plugins makes a lot much weight to Eclipse. Open current working project and close the remaining project. If there is any any dependency among them, just open while running. If all are Maven projects, then with miner local change in pom files, you can make them individual projects also. If you are working on independent projects, then always work on any one project in a workspace. Don't keep multiple projects in single workspace. Change the type filters. It facilitates to specify particular packages to refer always. As per my experience, don't change memory JVM parameters. It causes a lot of unknown issues except when you have sound knowledge of JVM parameters. Un-check auto build always. Particulary, Maven project's auto build is useless. Close all the files opened, just open current working files. Use Go Into Work sets. Instead of complete workbench. Most of the components of your application you can implement and test in standalone also. Learn how to run in standalone without need of server deploy, this makes your work simple and fast. -- Recently, I worked on hibernate entities for my project, two days, I did on server. i.e. I changed in entities and again build and deployed on the server, it killing it all my time. So, then I created a simple JPA standalone application, and I completed my work very fast.

关闭大纲视图以加快编辑器之间的切换。 每次切换到不同的选项卡或打开一个文件时,大纲视图都必须更新,在我的机器上,每次更新大约需要1秒钟。这只是1秒钟,但如果你经常换标签,就像我一样,这将省去你的头痛。

你有大的公羊吗?创建一个ramdisk,并把你的

JDK JVM Eclipse 工作空间

确保将更改保存回HDD或提交给VCS,以避免断电时数据丢失。

这篇文章如何快速使eclipse更快是非常有用的。我尝试了一些技巧,这是真的;它使我的Eclipse运行得更快。