Myeclipse菜单 window——General——Editors——Text Editors——Spelling——把右边的Enable spell checking的勾去掉就好了,也就是取消单词的拼写检查。 html
经过Windows - Preferences打开配置窗口,依次选择左侧的General - Startup and Shutdown,这个时候在右侧就显示出了Eclipse启动时加载的模块,能够根据本身的实际状况去除一些模块。
windows–>perferences–>general–>startup and shutdown java
关掉没用的启动项: web
WTP webservice UI plug-in,Equinox Provisioning platform Automatic Update Support windows
一个是ui视图,一个是自动更新.我去掉了. eclipse
默认状况下Eclipse在启动的时候会自动验证每一个项目的配置文件,这是一个很是耗时的过程,能够在Preferences窗口依次选择 MyEclipse - Validation,而后在右侧的Validator列表中只保留 Manual 项就能够了。若是须要验证的时候只须要选中文件,而后右键选择 MyEclipse - Run Validation就能够了。 jvm
windows–>perferences–>myeclipse–>validation
把 除了manual 下面的所有点掉,build下只留 classpath dependency Validator
手工验证方法:
在要验证的文件上,单击鼠标右键–>myeclipse–>run validation jsp
Eclipse的设置以下:
打开eclipse配置文件eclipse.ini,更改把-Xmx(其数值表明jvm可使用的最大内存数)
-Xms256m
-Xmx1024m ide
Window > perferences > General > Editors > File Associations >
在File types 中选择 *.jsp > 在Associated editors 中将本身要用的设置为默认。 工具
问题描述: 字体
新建一个XML文件.输入一下内容:
1
2
3
4
5
6
|
<?xmlversion="1.0"encoding="UTF-8"standalone="no"?><templates><templateautoinsert="true"context="typecomment_context"deleted="false"description="Comment for created types"enabled="true"id="org.eclipse.jdt.ui.text.codetemplates.typecomment"name="typecomment">/**
* <p>Project: Credo's Base</p>
* <p>Description: </p>
* <p>Copyright (c) ${year} LionCredo.All Rights Reserved.</p>
*
@author <a href="zhaoqianjava@foxmail.com">LionCredo</a>
*/</template></templates>
|
方法一:使用eclipse的导出功能(不推荐,不少配置不能导出)
工做目录中右键选择Export->General->Preference,这样能够导出epf文件,新的工做空间中能够用Import导入该配置文件,这个方法的确能够导入绝大多数的配置,可是并不全,导入后会丢失不少配置。
方法二:将workspace/.metadata/.plugins/org.eclipse.core.runtime中的.settings文件夹拷贝出来,里面就是全部的配置文件,新建工做空间的时候将该.settings文件夹替换掉新工做空间中的.settings文件夹便可。(有网友是将.plugings文件夹替换,可是.plugings文件夹太大了,实际上就是替换.settings文件夹,.settings只有几百k。)
12.在类文件上标注是接口仍是枚举类等
勾选上"java type indicator" 便可看到效果
勾选General--Appearance--Lable Desirations--Java Type Indicator