如何使使用Eclipse的体验更快?
例如:我禁用了所有我不需要的插件(Mylyn, Subclipse,…)
我没有为Mercurial使用插件,而是将TortoiseHG配置为一个外部工具。
如何使使用Eclipse的体验更快?
例如:我禁用了所有我不需要的插件(Mylyn, Subclipse,…)
我没有为Mercurial使用插件,而是将TortoiseHG配置为一个外部工具。
当前回答
问题可能是java缓存,或者java临时文件。
打开窗口的控制面板,找到Java面板 单击“常规”页签的“设置”, 删除临时文件,并设置存储临时文件的磁盘空间 文件大小不超过10000MB。 重新启动eclipse。恢复所有验证器,您将看到IDE Eclipse的速度是正常的。
其他回答
当限制打开标签的数量时(过去我经常打开30多个标签),我的性能有了相当大的提高。您可以让Eclipse自动为您处理这个问题:
窗口->首选项->编辑器->自动关闭编辑器
8个打开的标签是>>符号出现之前的金额,所以我倾向于让它保持在8。
当打开更多选项卡时,最近最少访问的选项卡将被关闭。
->当所有编辑器都是脏的或固定的
如果它有未保存的修改,你可以提示保存和重用(标签将被关闭,一个新的将被打开在它的地方)。或者你可以打开一个新的编辑器,从而增加打开标签的数量(不显眼的选择)。
如果你想确保一些标签永远不会自动关闭,你可以钉住它们。点击大头针图标(工具栏中最右边的图标,以“大头针编辑器”为tooltiptext)。
这篇文章如何快速使eclipse更快是非常有用的。我尝试了一些技巧,这是真的;它使我的Eclipse运行得更快。
虽然与Eclipse没有直接关系:
如果你运行的是Windows 7(可能还有Windows Vista),如果你的东西在默认的位置——你的主文件夹里,一定要禁用工作空间文件夹的文件索引。Windows默认会索引你主文件夹中的所有内容,这对你的工作空间来说是一种浪费。(右键单击资源管理器中的工作区文件夹,属性->高级。)
使用标准插件加速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.