提示Eclipse性能提示 [英] Hints to improve Eclipse performance

查看:163
本文介绍了提示Eclipse性能提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于IDE工作缓慢,有时停止并且不响应,因此在大型项目中使用Eclipse可能会很痛苦。我知道它可以依赖于操作系统,Eclipse等版本。



所有eclipse开发人员都有技巧调整Eclipse中的工作空间,应该关闭以提高IDE的性能?



例如:我的项目有建议关闭xml验证,不要安装m2eclipse。



由于eclipse的性能,一些开发人员使用IntelliJ。



更新:
对于那些感到不舒服与eclipse的表现我建议尝试其他解决方案只是为了比较 - 我尝试,这是我在表演主题中做的最好的。)

解决方案


  1. 通过转到Windows - >首选项 - >常规 - >启动和关闭,在启动时删除一些插件的不需要的激活。
    还要确保您不要在任何视图中使用这些插件


  2. Eclipse不是一个文字处理程序。更好地禁用拼写检查。禁用拼写检查将减少日食负担,转到Windows - >首选项 - >常规 - >编辑器
    - >文本编辑器 - >拼写


  3. 当eclipse构建项目时,它将删除所有输出文件夹并重建由其他编译器构建的类。我们可以禁用这些功能,因为删除输出文件夹并重建将需要一些时间。 Goto Windows - >首选项 - > Java - >编译器 - >构建


  4. 禁用不太适用的标签装饰,也有助于你要获得一些表演。转到Windows - >首选项 - >常规 - >外观 - >标签
    装饰


  5. 关闭不需要的项目并使用工作集选项从一组
    项目移动到另一个平台。


  6. 如果不需要,您还可以禁用Eclipse自动构建。
    Goto Project - >自动构建(取消选中)


  7. 不要在编辑器中打开很多选项卡。最好有20个选项卡。
    定期关闭未使用的标签。要打开资源,我们可以随时使用ctrl + shift + R和
    ctrl + shift + T(java资源),而不是打开大量选项卡


  8. 禁用不需要的插件。完整的J2EE eclipse版本可以禁用/卸载插件。 Goto帮助 - >软件更新 - >管理配置。右键单击任何已安装的插件以获取禁用选项。如果此选项不可用,请通过转到Windows - >首选项 - > Capabilty启用经典更新,然后检查经典更新。现在管理配置选项应该在帮助菜单中可用



Working in Eclipse with big projects can be painful because of IDE works slowly, sometimes stops and doesn't respond. I know it can depends on OS, version of Eclipse etc.

All eclipse developers have tricks which tuning workspace in Eclipse, What should be turn off to improve performance the IDE?

For example: My project has the recommendation to turn off xml validations, don't install m2eclipse.

Because of eclipse's performance some devs use IntelliJ.

UPDATED: For these who feel uncomfortable with the eclipse's performance I suggest to try other solutions just to have comparison - I tried and this was the best what I've done in performance subject :)

解决方案

  1. Remove unwanted activation of some of the plugins at start-up by going to windows-->preference-->General-->Startup and shutdown. Also make sure you don't use those plugins in any of your views

  2. Eclipse is not a word processor. Better to disable the spell check. Disabling spell check will reduce the eclipse burden by going to Windows-->Preference-->General-->Editors --> Text Editors-->Spelling

  3. When eclipse builds the project, it will delete all output folders and rebuild classes built by other compilers. We can disable such features, as deleting the output folders and rebuilding will take sometime. Goto Windows-->Preference-->Java-->Compiler-->Building

  4. Disabling label decorations which is of less use for you, will also help you to gain some performance . Goto Windows-->Preference-->General-->Appearance-->Label Decorations

  5. Close unwanted projects and use working set option to move from one group of project to another smoothly.

  6. You could also disable Eclipse automatic building, if it is not needed for you. Goto Project-->Build Automatically (uncheck it)

  7. Do not keep lot of tabs opened in the editor. Better to have around 20 tabs . Regularly close the unused tabs. To open resource we can always use ctrl+shift+R and ctrl+shift+T (java resource) instead of opening lot of tabs

  8. Disable unwanted plugins. Full J2EE eclipse version has an option to disable/uninstall plugins. Goto Help-->Software Updates-->Manage Configuration. Right click on any installed plugin to get disable option. If this option is not available then enable Classic Update by going to Windows-->Preference-->Capabilty and check classic update. Now the manage configuration option should be available in help menu

这篇关于提示Eclipse性能提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆