注:本文内容复制于little_paper的博客,具体连接为http://little-paper.iteye.com/blog/1670745,感谢little_paper的分享,为便于能随时学习,特copy过来,望做者谅解!javascript
1.指定本机java环境html
Windows-->preferences-->java-->Insetallel JREsjava
右侧 单击ADD standard VM-->Next -->Directory-->Finashjquery
点选 新增jre环境-->点击OKwindows
2.更换背景颜色 我的感受白色比较刺激眼睛 可选择性更换缓存
Windows-->preferences-->General-->Editors-->Text Editorstomcat
右侧左下方 选中 Background color后 单击 System default选项框后 点击color 选择颜色后 -->OKapp
3.取消servers中myeclipse自带的tomcat 开发中经常须要到相应的 tomcat目录中查看,eclipse
指定本机自带tomcat 能够更方便的操做jsp
Windows-->preferences-->MyEclipse-->Servers-->Tomcat
根据我的选择指定tomcat目录 并点选上方的 radio Enable 选项-->OK
取消server中的tomcat
Windows-->preferences-->MyEclipse-->Servers-->Integrated Sandbox-->Myeclipse Tomcat 6
点击disable
4.取消自动validation 有一堆,什么xml、jsp、jsf、js等等,
咱们没有必要所有都去自动校验一下,只是须要的时候才会手工校验一下!
取消方法:
windows-->perferences-->myeclipse–->validation
除开Manual下面的复选框所有选中以外,其余所有不选
手工验证方法:
在要验证的文件上,单击鼠标右键--->myeclipse--->run validation
5.取消Eclipse拼写检查
拼写检查会给咱们带来很多的麻烦,咱们的方法命名都会是单词的缩写,他也会提示有错,因此最好去掉,没有多大的用处
windows--->perferences--->general-->editors->Text Editors->spelling
点击enable spell check
6.jsp xml html
windows--->perferences--->general--->editors->file associations
在下方选择一种编辑器,我选择的是 myeclipse jsp/xml/html editor 而后点击左边的default按钮
7.取消Maven更新(启动更新)
Window > Preferences > Myeclipse > Maven4Myeclipse 禁用Download repository index updates on startup
8. 修改jsp文件内容的编码
window->Preferences ->myeclipse->Files and Editors->jsp
9. hovers javascript hovers (鼠标悬停提示关闭) 鼠标悬停提示关闭
Window->preference ->Myeclipse ->Files and Editors-> javascript -> edit -> 选中Hover 去掉勾选Combined Hove
java : Window->preference ->java->Editor->Hovers 去掉勾选Combined Hover Bug模式调试 勾选上Variable Values
10. 修改新建文件java/js/html/properties文件编码
window->Preferences -> General->Content Type
把下面的Default Character Set的值改为UTF-8
11.我的习惯:Window --> Preferences --> General --> Workspace,文字编码改成UTF-8。
12.修改右键
windows –> Customize Perspective 选项
13.myeclipse 内存溢出
打开MyEclipse目录下的myeclipse.ini文件 在后面修改下面几个属性
-vmargs
-Xms512m ( JAVA可以分配的内存)
-Xmx512m ( JAVA可以分配的最大内存)
-XX:PermSize=512M (非堆内存初始值)
-XX:MaxPermSize=512M (非堆内存最大值)
-XX:ReservedCodeCacheSize=64m (eclipse缓存)
14.jquery.js -> 鼠标右键 -> MyEclipse -> manage validation -> 左面点击 -> Excluded resources -> 找到jquery.js -> 打上钩 -> apply
15.根据我的状况修改myeclipse的启动项
windows–>perferences–>general–>startup and shutdown
16. derby 关闭
在MyEclipse安装目录下打开 configuration\org.eclipse.equinox.simpleconfigurator\bundles.info 搜索derby找到 com.genuitec.eclipse.derby,11.0.0.me201211281531,plugins/com.genuitec.eclipse.derby_11.0.0.me201211281531.jar,4,false 把它注释掉即(#com.genuitec.eclipse.derby,11.0.0.me201211281531,plugins/com.
17: 启动功能介绍和样例(红色为须要保留的文件,此为本人样例,请按需选择)