1.取消自动validation
validation有一堆,什么xml、jsp、jsf、js等等,没有必要全部都去自动校验,只是需要的时候才会手工校验一下!取消方法:
windows–>perferences–>myeclipse–>validation
除开Manual下面的复选框全部选中之外,其他全部不选
手工验证方法:
在要验证的文件上,单击鼠标右键–>myeclipse–>run validation
2.取消Eclipse拼写检查
拼写检查会给我们带来不少的麻烦,我们的方法命名都会是单词的缩写,他也会提示有错,所以最好去掉,没有多大的用处,取消方法:
windows–>perferences–>general–>editors->Text Editors->spelling
3.取消myeclipse的启动项
myeclipse会有很多的启动项,而其中很多我们都用不着,或者只用一两个,取消前面不用的就可以
windows–>perferences–>general–>startup and shutdown
Automatic Updates Scheduler //自动升级调度
MyEclipse QuickSetup //快速启动
MyEclipse Derby //derby是一个开源数据库的名字
MyEclipse EASIE Geronimo 1 //从Geronimo下来到websphere都是应用服务器的名字
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 //文件创建程序
MyEclipse Backward Compatibility //后台功能
MyEclipse Perspective Plug-in //透视图插件
Mozilla Debug UI Plug-in(Incubation) //Mozilla调试插件(Mozilla是一款浏览器)
WTP Webservice UI Plug-in //Web 服务视图插件
JavaServer Faces Tools - Core //jsf工具核心包
JSF Editor Preview Support for MyEclipse//jsf编辑器
4.更改jsp默认打开的方式
安装了myeclipse后,编辑jsp页面,会打开他的编辑页面,同时也有预览页面,速度很慢,不适合开发。所以更改之
windows–>perferences–>general–>editors->file associations
改变myeclipse默认的jsp 打开方式
默认是用jsp design,每次双击 就会用这个打开 ,太慢了 我希望换成双击 是用classic jsp editor 如何设置?
preferences->General->editors->Files Associations(位置根据具体eclipse版本会有所不同)
File Types 选择.jsp
assiciations 里选择classic jsp editor,然后点右边的default
5.更改代码提示快捷键
现在的代码提示快捷键,默认为ctrl+space,而我们输入法切换也是,所以会有冲突。谁叫myeclipse是外国人做的呢。。根本不需要切换输入法.
windows–>perferences–>general–>Keys
更改 content assist 为 alt+/
同时由于alt+/已经被word completion占用,所以得同时修改word completion的快捷键值
解决myeclipse中alt+/无代码提示问题进入windows->preferences->keys目录中将content assist 的 binding 设为alt+/ ,when设为editing然后将Word Completion 设为其他的任意快捷键,保存退出即可。
6.Encoding 编码
(1)将整个project设置编码UTF-8(UTF-8可以最大的支持国际化)
windows -> Preferences -> general -> Workspace -> Text file encoding -> Other框中的Text file encoding改为UTF-8
(2)对java源文件编码设置为UTF-8
windows -> Preferences -> general -> Content Types -> Text,选择Java Source File,在下面的Default encoding输入框中输入UTF-8,点Update
(3)设置创建JSP页面时,将JSP的默认编码设为UTF-8
Window -> Preferences -> MyEclipse Enterprise Workbench -> Files and Editors -> JSP,将"Encoding"选为"ISO10646/Unicode(UTF-8)
7.JSP 去掉格式化时页面中的空行
Window -> Preferences -> MyEclipse Enterprise Workbench -> HTML -> HTML Source
勾选"Clear all blank lines"
8.Update 关闭自动更新
(1)Eclipse:
Windows –> Perferences–> Install/Update -> Automatic Updates,不勾选"Automatically find new updates and notify me"
(2)Myeclipse:
1)Windows –> Perferences–> MyEclipse Enterprise Workbench -> Community Essentials,不勾选"Search for new features at startup"
2)Windows –> Perferences–> MyEclipse Enterprise Workbench -> Maven4MyEclipse,不勾选"Download repository index updates on startup"