1 修改编码方式
修改工作空间的编码方式
Window->Preferences->General->Workspace->Text file encoding
修改一类文件的编码方式
Window->Preferences->General ->content Types ->修改default Encoding
修改单个文件的编码方式
在源码按右键->General->Editors->Test Editors->Spelling->Encoding
修改单个工程的编码方式
在工程按右键->Preferences->Resource->Text file encoding->other
修改新创建文件的编码方式
window->preference->MyEclipse->Files and Editors->选择子项->Encoding
2 去掉格式化JSP时页面中的空行
Window -> Preferences -> MyEclipse -> Files and Editors -> HTML -> HTML Source,勾选”Clear all blank lines”
3 增强MyEclipse的自动代码提示功能
http://www.coridc.com/archives/1858.html
4 关闭自动更新
Windows -> Perferences -> MyEclipse… -> Community Essentials,去掉Search for new features at startup前面的勾
5 取消启动时,配置文件的自动验证
Window -> Preferences -> MyEclipse -> validation,除了manual 下面的全部点掉,build下只留 classpath dependency Validator。手工验证方法:在要验证的文件上,单击鼠标右键点myeclipse–>run validation
6 取消拼写检查(我就喜欢拼错的单词咋了)
Window -> Preferences -> MyEclipse -> general -> validation -> editors -> Text Editors -> spelling。
7 JVM的非堆内存设置
http://www.coridc.com/archives/2306.html
8 设置系统快捷键
Window -> Preferences -> General->Keys
9设置默认字体
Window -> Preferences -> General -> Appearance -> Colors and Fonts
10 解决ctrl+代码无法察看java原文件问题
有时我们想察看j2se的原文件比如我想看String类的源代码但按住ctrl+String没有显示。解决这一问题首先要有jdk或j2se的源代码(.java文件)才行。
位置:在jdk的目录下有一个src.zip文件顾名思义这就是源文件了(若没安装jdk网上自己下一个也成)。
具体设置:进入windows->preferences->java->installed jres目录选中你的安装jres单击edit在选中所有的jre system libraries 单击source attachment 将location path 指向src.zip的目录位置保存退出即可。
11 为MyEclipse添加中文提示
首先要有中文版的JavaSE API并且必须是html格式(不能为chm格式),然后进入windows->preferences->java->installed jres目录选中你的安装jres单击edit 在选中所有的jre system libraries 单击javadoc location 将路径指向你j2se api 所在的位置即可。(注:此时source attachment的路径为空)。
12 取消JSP同步验证(jsp syntax validator) – 参见5
Window -> Preferences -> validation
13、更改项目开发页面的视觉感受(包括选中行颜色,选中文本颜色,代码颜色等)
Window -> Preference -> Editors -> Text Editors -> Appearances color options,然后慢慢选吧。
14、删除工具栏/菜单栏中不常用(用不到)的按钮
Window→Preference→Customize Perspective,删除File下的Print,MyEclipse-EJB,MyEclipse-UML,MyEclipse-Ajax Tools,MyEclipse-DeployTools下的Open MyEclipse Web Browser,MyEclipse-Desktop下的Send to mail recipient,MyEclipse reports,MyEclipse-ScreenCapture,Search 下的Open Type和Open Spring Bean。
15、启动关闭MyEclipse关闭不需要的选项
Window→Preference→General→Startup and Shutdown,去除不需要的项目
16、在MyEclipse显示项目中所有文件
在包视图右上角的Filters中,取消勾选全部