轉自:http://www.tkk7.com/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
改快捷鍵之類的經理就不介紹了。