如何使使用Eclipse的体验更快?
例如:我禁用了所有我不需要的插件(Mylyn, Subclipse,…)
我没有为Mercurial使用插件,而是将TortoiseHG配置为一个外部工具。
如何使使用Eclipse的体验更快?
例如:我禁用了所有我不需要的插件(Mylyn, Subclipse,…)
我没有为Mercurial使用插件,而是将TortoiseHG配置为一个外部工具。
当前回答
关闭当前未使用的任何打开的项目。
尝试在开发过程中关闭自动发布模式。
其他回答
转到Windows ->首选项->验证,取消选中任何你不想要或不需要的验证器。
对于Eclipse 3.7,您使用Windows ->首选项->通用->启动和关机。
**Tips for making Eclipse IDE Faster**
Eclipse在处理小型项目时运行得更快。但是当你不得不处理一个大项目时,你会对它的速度感到恼火。即使有一个巨大的RAM,你也不会满意它 速度。以下步骤将帮助eclipse提高其速度
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 Disabling label decorations which is of less use for you, will also help you to gain some performance . Go to Windows–>Preference–>General–>Appearance–>Label -> Decorations Close unwanted projects and use working set option to move from one group of project to another smoothly. Configure eclipse.ini which will be available in the eclipse installed location.
Configuring eclipse.ini should be based on your RAM
-Xms256m
-Xmx512m
-XX:PermSize=512m
-XX:MaxPermSize=512M
也可以访问http://wiki.eclipse.org/Eclipse.ini获取更多选择 配置eclipse.ini。
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 I experienced a considerable improvement in performance when limiting the number of open tabs (In the past I frequently had 30+ tabs open). You can let eclipse handle this for you automatically: Window->Preferences->Editors-> close editors automatically 8 open tabs is the amount before the >> sign appears, so I set 14 as my default value. When opening more tabs, the ones the least recently accessed will be closed. When all editors are dirty or pinned. If it has unsaved modifications you can prompt to save & reuse (tab will be closed, a new one will be opened in its place). Or you can open a new editor end thus increase the amount of open tabs (the unobtrusive choice). If you want to ensure some tabs never get closed autmatically, you can pin them. This by clicking on the pin icon (the rightmost icon in the toolbar, with “pin editor” as tooltiptext). Go to Windows -> Preferences -> Validation and uncheck any validators you don’t want or need. Go to Windows -> Preferences -> General -> Appearance -> and uncheck any animation you don’t want or need. Go to Windows -> Preferences -> Maven and check 'do not automatically update dependencies'.
使用标准插件加速Eclipse的唯一真正方法是为其提供更多内存,在某些情况下还可以访问更快的存储空间/碎片整理的硬盘驱动器。
除此之外,在性能方面可以做的不多:大多数标准插件都没有持续的运行时成本,即使Mylyn也相对较快。
升级到您机器上支持的最新JVM也会有所帮助。
有些人会降级到较旧的Eclipse版本以获得更好的性能。使用Eclipse经典版而不是官方发行版可能也有意义。
如果您使用Maven和ivy,请检查它们的控制台,以防它们在构建期间占用处理。我使用ivy,在此基础上,我有某些JAR文件(内部)更改为相同的版本,所以它必须一直锻炼来获取它们。
如果您在网络驱动器上定义了项目,那么在构建/读/写类型的过程中也会遇到延迟。
禁用/卸载你不需要的插件。 你不需要的近距离视角 关闭未使用的数据库连接
除了为内存使用配置eclipse.ini之外。我已经通过“启动和关闭选项”进行了配置。我的月食现在燃烧得很快。