注:优化一下myeclipse,本人已试过,目前还没有出现不良症状,建议循规蹈矩的孩纸们不要操作了就。 http://blog.csdn.net/tianyazaiheruan 1 、关闭myeclipse的自动validation windows perferences myeclipse validation,将build下全部勾取消 需要验证某个
注:优化一下myeclipse,本人已试过,目前还没有出现不良症状,建议循规蹈矩的孩纸们不要操作了就。http://blog.csdn.net/tianyazaiheruan
1 、关闭myeclipse的自动validation
windows > perferences > myeclipse > validation,将build下全部勾取消
需要验证某个文件的时候,可以单独去验证。方法是:
在需要验证的文件上( 右键 -> myeclipse -> run validation 。
2、 启动优化,关闭不需要使用的模块
window > perferences > general > startup and shutdown > 将plug-ins activated on startup
中的复选框有选择性的勾选去掉。
我这里只让它加载tomcat6 勾选 myeclipse easie tomcat 6 。
wtp :一个跟myeclipse差不多的东西,主要差别是 wtp 是免费的,如果使用myeclipse,这个可以取消
mylyn:组队任务管理工具,类似于 cvs ,以任务为单位管理项目进度,没用到的可以取消
derby:一种保存成 jar 形式的数据库,我没用到,取消
一大排以 myeclipse easie 打头的启动项:myeclipse 支持的服务器,只选自己用的,其他取消, 比如我只选了 tomcat 。
3 、去掉myeclipse的拼写检查(如果你觉的有用可以不去)
拼写检查会给我们带来不少的麻烦,我们的方法命名都会是单词的缩写,他也会提示有错, 所以最好去掉,没有多大的用处
window > perferences > general > editors > text editors > spelling > 将enable spell checking复选框的勾选去掉。
本文整理:http://blog.csdn.net/tianyazaiheruan
4 、修改myeclipse编辑jsp页面时的编辑工具
window > perferences > general > editors > file associations >
在file types 中选择 *.jsp > 在associated editors 中将myeclipse jsp editor设置为默认。
还有xml文件的默认编辑器
5、老是弹出quick update error 、关闭myeclipse的quick update自动更新功能
这个问题的解决办法是关闭自动更新
windows > preferences > myeclipse enterprise workbench > community essentials,
把选项 search for new features on startup的前勾去掉即可。
本文整理:http://blog.csdn.net/tianyazaiheruan
6、使用jrockit作为eclipse的java vm
eclipse启动参数,指定eclipse启动时使用的jre
e:\myeclipse8.0\myeclipse blue edition 8.0 ga\myeclipse-blue.exe -vm e:\jrockit\jrrt-3.1.2-1.6.0\bin\javaw.exe -vmargs -xms256m -xmx512m
在eclipse里面,window > preferences,然后选择java > installed jres添加jrockit,并设置为默认。 这样,就可以用jrockit来编译项目了。
7. 关闭自动更新
1.window->perferences->general->startup and shutdown 勾掉 automatic updates scheduler(自动更新调度程序)
2.window->perferences->myeclipse->maven4myeclipse 勾上 enable maven4myeclipse featrures ;确定关闭窗口;该步骤是为了显示第3步中的maven节点
3.window->perferences->myeclipse->maven4myeclipse –>maven 勾掉 download repository index updates on startup
8 、修改myeclipse安装目录的eclipse.ini文件,加大jvm的非堆内存
具体内容如下:
-clean
-showsplash
com.genuitec.myeclipse.product.ide
–launcher.xxmaxpermsize
256m
-vmargs
-xms128m
-xmx512m
-duser.language=en
-xx:permsize=128m
-xx:maxpermsize=256m
把下面的那个 -xx:maxpermsize 调大,比如 -xx:maxpermsize=512m,再把 -xx:permsize 调成跟
-xx:maxpermsize一样大
9.代码自动提示的设置:“window”→“preferences”→“java”→“editor”→“content assist”→“content assist”→右边的“auto-activation”下面的“auto activation triggers for java”选项
10.别同时跑多个项目,暂时用不到的就close掉,用到再开
本文整理:http://blog.csdn.net/tianyazaiheruan