转自:http://www.blogjava.net/zhangyuan/archive/2010/11/17/338232.html
第一步: 取消自动validation
validation有一堆,什么xml、jsp、jsf、js等等,我们没有必要全部都去自动校验一下,只是需要的时候才会手工校验一下!
取消方法:
windows–>perferences–>myeclipse–>validation
除开Manual下面的复选框全部选中之外,其他全部不选
手工验证方法:
在要验证的文件上,单击鼠标右键–>myeclipse–>run validation
第二步:取消Eclipse拼写检查
1、拼写检查会给我们带来不少的麻烦,我们的方法命名都会是单词的缩写,他也会提示有错,所以最好去掉,没有多大的用处
windows–>perferences–>general->editors->Text Editors->spelling
第三步:取消myeclipse的启动项
myeclipse会有很多的启动项,而其中很多我们都用不着,或者只用一两个,取消前面不用的就可以
windows–>perferences–>general–>startup and shutdown 启动项功能如下,可以根据自己的需要选择
Automatic Updates Scheduler
MyEclipse QuickSetup
MyEclipse Derby
MyEclipse EASIE Geronimo 1
MyEclipse EASIE Geronimo 2
MyEclipse EASIE JBOSS 2
MyEclipse EASIE JBOSS 3
MyEclipse EASIE JBOSS 4
MyEclipse EASIE JBOSS 5
MyEclipse EASIE JBOSS
MyEclipse EASIE Jetty 4
MyEclipse EASIE Jetty 5
MyEclipse EASIE Jetty 6
MyEclipse EASIE Jetty
MyEclipse EASIE JOnAS 3
MyEclipse EASIE JOnAS 4
MyEclipse EASIE JOnAS
MyEclipse EASIE JRun 4
MyEclipse EASIE JRun
MyEclipse EASIE Oracle 10 AS
MyEclipse EASIE Oracle 9 AS
MyEclipse EASIE Oracle AS
MyEclipse EASIE Orion 1
MyEclipse EASIE Orion 2
MyEclipse EASIE Resin 2
MyEclipse EASIE Resin 3
MyEclipse EASIE Resin
MyEclipse EASIE Sun 8.x
MyEclipse EASIE Sun 8
MyEclipse EASIE Sun 9
MyEclipse EASIE Glassfish 2
MyEclipse EASIE Glassfish 1
MyEclipse EASIE Sun One
MyEclipse EASIE MyEclipse Tomcat 6 Server
MyEclipse EASIE Tomcat 4
MyEclipse EASIE Tomcat 5
MyEclipse EASIE Tomcat 6
MyEclipse EASIE Tomcat
MyEclipse EASIE WebLogic 10
MyEclipse EASIE WebLogic 6
MyEclipse EASIE WebLogic 7
MyEclipse EASIE WebLogic 8
MyEclipse EASIE WebLogic 9
MyEclipse EASIE WebLogic
MyEclipse EASIE WebSphere 5
MyEclipse EASIE WebSphere 6.1
MyEclipse EASIE WebSphere 6
MyEclipse EASIE WebSphere 4
MyEclipse Examples
MyEclipse Memory Monitor
MyEclipse Tapestry Integration
MyEclipse JSP Debug Tooling
MyEclipse File Creation Wizards
ICEfaces Integration for MyEclipse
MyEclipse Backward Compatibility
MyEclipse Perspective Plug-in
Pluse Collaboration Control Center
eclipse-cs 4.x.x -> 5.0.0 Migration Plug-in
Mozilla Debug UI Plug-in(Incubation)
Dynamic Languages ToolKit Core UI
WTP Webservice UI Plug-in
JavaServer Faces Tools - Core
Automatic Updates Scheduler
Service policy
Atfdebug Plug-in(Incubation)
Auxiliary Web Module Support for MeEclipse
JSF Editor Preview Support for MyEclipse
第五步: 更改内存使用文件
1、打开 eclipse.ini
-startup
../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-install
D:/Myeclipse 8.5/Program
-vm
D:/Myeclipse 8.5/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll
-configuration
configuration
-vmargs
-Xmx512m
-XX:MaxPermSize=1024m
-XX:ReservedCodeCacheSize=128m
把下面的那个 -XX:MaxPermSize 调大,比如 -XX:MaxPermSize=1024M,再把 -XX:PermSize 调成跟 -XX:MaxPermSize一样大
原因:大家一定对这个画面很熟悉吧:
几乎每次 eclipse 卡到当都是因为这个非堆内存不足造成的,把最大跟最小调成一样是因为不让 myeclipse 频繁的换内存区域大小
注意:XX:MaxPermSize 和 Xmx 的大小之和不能超过你的电脑内存大小
经理比较奢侈,就调到了1024
第六步: 取消Maven更新(启动更新)
Window > Preferences > Myeclipse> Maven4Myeclipse > Maven>禁用Download repository index updates on startup
改快捷键之类的经理就不介绍了。