MyEclipse 2015 Optimization Tips

https://blog.csdn.net/chszs/article/details/43113729


Author: chszs, reprint should be noted. Blog homepage: http://blog.csdn.net/chszs

The MyEclipse  2015 optimization speed scheme still has the following main aspects: removing modules that do not need to be loaded, canceling redundant configurations, removing unnecessary checks, and closing updates.


Step 1:  Remove modules that do not need to be loaded

20% of the functions of a system can often meet 80% of the needs, and MyEclipse is no exception. We only need 20% of the system functions most of the time, so some unused modules can be prohibited from loading and starting. Open the configuration window through Windows-Preferences, and select General--> Startup and Shutdown on the left in turn. At this time, the modules loaded when Eclipse starts are displayed on the right, and you can remove some modules according to your actual situation.

Select menu: Window --> Preferences --> General --> Startup and Shutdown


The startup items that can be turned off are:

JSF auxiliary development plug-in

1)ICEfaces Integration for MyEclipse;

2)JSF Editor Preview Support for MyEclipse;

Delivery related plugins

3)Delivery Runtime JRE

4) Delivery Package Runtime UI, etc. 3

5)m2e Marketplace;

6 Mylyn Tasks UI Mylyn Team UI

Turn off automatic updates

7)Equinox Provisioning Platform Automatic Update Support

Step 2: Cancel MyEclipse's Spell Check

拼写检查会给我们带来不少的麻烦,我们的方法命名都会是单词的缩写,MyEclipse会提示有错,所以最好去掉,毕竟我们不是在写英文文章。

选择菜单:Window --> Preferences -->General --> Editors --> Text Editors --> Spelling


取消Enable spellchecking。

作者:chszs,转载需注明。博客主页:http://blog.csdn.net/chszs

第三步:取消MyEclipse启动时的自动验证项目配置文件

一般来说,我们只需验证XML和JSF文件,其它的验证基本用不上。

取消方法:

选择菜单:Window --> Preferences -->MyEclipse --> Validation

除XML和JSF外,其它的都可以不选。


点击Apply按钮,会弹出Validation Settings Changed提示。

可以把所有Build部分的钩取消掉。

手动验证方法:

在要验证的文件上,单击鼠标右键--> MyEclipse --> run validation;一样可以达到效果。

第四步:换用JDK8

选择菜单:Window --> Preferences -->Java --> Installed JREs

停用MyEclipse内置的JDK 1.7,改用外部安装的JDK 8。


紧接着,在Window --> Preferences --> Java --> Compiler

选择JDK编译器级别为1.8,点击Apply。


第五步:关闭Maven自动下载

选择菜单:Window --> Preferences -->MyEclipse --> Maven4MyEclipse

取消选择Downloadrepository index updates on startup选项,且Maven JDK也选择JDK8。


第六步:更改JSP默认打开的方式

安装了MyEclipse后,编辑JSP页面,会打开JSP的编辑页面,同时也有预览页面,速度很慢。

作者:chszs,转载需注明。博客主页:http://blog.csdn.net/chszs

选择菜单:Window --> Preferences -->General --> Editors --> File Associations


选择MyEclipseJSP Editor编辑器,,然后点击左边的Default按钮。

第七步:更改文件编码

1)在Window--> Preferences的左上角,输入encod

选择Workspace,文字编码改为UTF-8。


2)Window -->Preferences --> MyEclipse --> Files and Editors --> JSP,编码也改为UTF-8。


大致就这么多,目前刚开始使用MyEclipse 2015,以后可能会修订此文档。


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324849018&siteId=291194637