micromax 发表于 2017-2-28 09:06:00

myeclipse调优

  1.取消自动validation   
validation有一堆,什么xml、jsp、jsf、js等等,我们没有必要全部都去自动校验一下,只是需要的时候才会手工校验一下!
  取消方法:   
windows–>perferences–>myeclipse–>validation   
除开Manual(manual为手动验证)下面的复选框全部选中之外,其他全部不选   
手工验证方法:   
在要验证的文件上,单击鼠标右键–>myeclipse–>run validation
  2.拼写检查会给我们带来不少的麻烦,我们的方法命名都会是单词的缩写,他也会提示有错,所以最好去掉,没有多大的用处
  windows–>perferences–>general–>validation->editors->Text Editors->spelling
  3.取消myeclipse的启动项   
myeclipse会有很多的启动项,而其中很多我们都用不着,或者只用一两个,取消前面不用的就可以
  windows–>perferences–>general–>startup and shutdow
  4.更改jsp默认打开的方式   
安装了myeclipse后,编辑jsp页面,会打开他的编辑页面,同时也有预览页面,速度很慢,不适合开发。所以更改之windows–>perferences–>general–>editors->file associations
  在下方选择一种编辑器,然后点击左边的default按钮
  5.更改内存配置文件
  打开 eclipse.ini
  -showsplash   
com.genuitec.myeclipse.product   
--launcher.XXMaxPermSize   
256M   
-vmargs   
-Dosgi.requiredJavaVersion=1.5   
-Xms128m   
-Xmx512m   
-Dosgi.splashLocation=e:MyEclipse 6.0eclipseMyEclipseSplash.bmp   
-Duser.language=en   
-XX:PermSize=128M   
-XX:MaxPermSize=256M   
把下面的那个 -XX:MaxPermSize 调大,比如 -XX:MaxPermSize=512M,再把 -XX:PermSize 调成跟 -XX:MaxPermSize一样大   
原因:大家一定对这个画面很熟悉吧:
  几乎每次 eclipse 卡到当都是因为这个 非堆内存不足造成的,把最大跟最小调成一样是因为不让 myeclipse 频繁的换内存区域大小
  注意:XX:MaxPermSize 和 Xmx 的大小之和不能超过你的电脑内存大小
  6。取消Maven更新(启动更新)
  Window > Preferences > Myeclipse Enterprise Workbench > Maven4Myeclipse > Maven>禁用Download repository index updates on startup
   
[*]注:启动项解释  第一项: 启动功能介绍和样例
       
[*]Automatic Updates Scheduler //自动升级调度      
[*]MyEclipse QuickSetup //快速启动      
[*]MyEclipse Derby //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 //jsp调试插件      
[*]MyEclipse File Creation Wizards //文件创建程序      
[*]ICEfaces Integration for MyEclipse //基于Ajax的JSF开发框架()      
[*]MyEclipse Backward Compatibility //后台功能      
[*]MyEclipse Perspective Plug-in //透视图插件      
[*]Pluse Collaboration Control Center //Eclipse的网页管理中心      
[*]eclipse-cs 4.x.x -> 5.0.0 Migration Plug-in  //Eclipse插件兼容组件      
[*]Mozilla Debug UI Plug-in(Incubation) //Mozilla调试插件(Mozilla是一款浏览器)       
[*]Dynamic Languages ToolKit Core UI //对入PHP等动态语言支持的用户接口      
[*]WTP Webservice UI Plug-in //Web 服务视图插件      
[*]JavaServer Faces Tools - Core //jsf工具核心包      
[*]Automatic Updates Scheduler //自动更新      
[*]Service policy  //Web提供的服务性能目标定义,自动管理      
[*]Atfdebug Plug-in(Incubation)  //动态语言的调试工具      
[*]Auxiliary Web Module Support for MeEclipse// 辅助的Web模块支持.(可能是Struts等文件自动添加)   
   JSF Editor Preview Support for MyEclipse//jsf编辑器
页: [1]
查看完整版本: myeclipse调优