MyEclipse开发习惯
2015-09-22 10:22
441 查看
1.颜色设置-调整为合适阅读的浅绿色
(1)Window-Preferences-General-Editors-Text Editors
a.Backgroudcolors-背景色-设置为RGB(204,232,207)
b.Current-linehighlight-当前行高亮颜色-RGB(204,232,167)
(2)Window-Preferences-General-Editors-Text Editors-Annotations
a.Occurrences-高亮辅助-RGB(145,208,151)
b.Write Occurrences-变量名高亮辅助-RGB(145,208,151)
2.取消自动validation
validation有一堆,什么xml、jsp、jsf、js等等,我们没有必要全部都去
自动校验一下,只要需要的时候才会手动校验一下!
取消方法
window-preferences-myeclipse-validation除开Manual下面的
复选框选中之外,其他全部不选
手动验证
在要验证的文件上,单击鼠标右键-myeclipse-run validation
3.取消Eclipse拼写检查
window-preferences-general-editors-Text Editors-spelling
4.取消MyEclipse的启动项
(1)WTP:一个跟MyEclipse差不多的东西,主要差别是WTP是免费的,
如果使用MyEclipse则可以取消
(2)Mylyn:组队任务管理工具,类似于CVS,以任务为单位管理项目进度,
没用到的可以取消
(3)Derby:一种保存成jar形式的数据库,没用到可以取消
(4)Myeclipse EASIE:MyEclipse支持的服务器,除了tomcat6.x,其余去掉
5.更改jsp默认打开的形式
window-preferences-general-editors-file associations
6.自动提示功能
window-preferences-Java-Editor-Content Assist在Auto-Activation
下的for Java后面输入.abcdefghijklmnopqrstuvwxyz-Apply-OK
7.Eclipse注释模板
window-preferences-Java-Code Style-Code Template
(1)Comments-Types 类注释
/**
* ━━━━━━神兽出没━━━━━━
* ┏┓ ┏┓
* ┏┛┻━━━┛┻┓
* ┃ ┃
* ┃ ━ ┃
* ┃ ┳┛ ┗┳ ┃
* ┃ ┃
* ┃ ┻ ┃
* ┃ ┃
* ┗━┓ ┏━┛Code is far away from bug with the animal protecting
* ┃ ┃ 神兽保佑,代码无bug
* ┃ ┃
* ┃ ┗━━━┓
* ┃ ┣┓
* ┃ ┏┛
* ┗┓┓┏━┳┓┏┛
* ┃┫┫ ┃┫┫
* ┗┻┛ ┗┻┛
*
* ━━━━━━感觉萌萌哒━━━━━━
* @author 名字
* @ClassName ${type_name}
* @Version 版本
* @ModifiedBy 修改人
* @Copyright 公司名称
* @date ${date} ${time}
* ${tags}
*/
(2)Comments-Methods 方法注释
/**
* @author 名字
* @date ${date} ${time}
* ${tags}
*/
(3)Comments-Overriding methods 重写注释
/**
* @author 名字
* @date ${date} ${time}
* ${tags}
*/
(4)Comments-Delegate methods
/**
* @author 名字
* @date ${date} ${time}
* ${tags}
*/
8.字体大小
window-preference-General-Appearance-Colors and Fonts
(1)Basic-Text Font
字体:Courier New
字形:常规
大小:四号(或14)
9.控制台字体
点击控制台右键-preferences-Run/Debug-Console
(1)Background color背景色-黑色
(2)Standard Out text color控制台输出-绿色
10.显示行号
window-preference-Editors-Text Editor-选中Show line numbers
或者在类中左边右键,选中Show line numbers
11.去掉Folding
右键行号位置-Folding-Enable Folding
12.myeclipse修改默认创建JSP编码
window-preferences-myeclipse enterprise workbench-file and editors-jsp
在这个页面里边就有了Encoding
(1)Window-Preferences-General-Editors-Text Editors
a.Backgroudcolors-背景色-设置为RGB(204,232,207)
b.Current-linehighlight-当前行高亮颜色-RGB(204,232,167)
(2)Window-Preferences-General-Editors-Text Editors-Annotations
a.Occurrences-高亮辅助-RGB(145,208,151)
b.Write Occurrences-变量名高亮辅助-RGB(145,208,151)
2.取消自动validation
validation有一堆,什么xml、jsp、jsf、js等等,我们没有必要全部都去
自动校验一下,只要需要的时候才会手动校验一下!
取消方法
window-preferences-myeclipse-validation除开Manual下面的
复选框选中之外,其他全部不选
手动验证
在要验证的文件上,单击鼠标右键-myeclipse-run validation
3.取消Eclipse拼写检查
window-preferences-general-editors-Text Editors-spelling
4.取消MyEclipse的启动项
(1)WTP:一个跟MyEclipse差不多的东西,主要差别是WTP是免费的,
如果使用MyEclipse则可以取消
(2)Mylyn:组队任务管理工具,类似于CVS,以任务为单位管理项目进度,
没用到的可以取消
(3)Derby:一种保存成jar形式的数据库,没用到可以取消
(4)Myeclipse EASIE:MyEclipse支持的服务器,除了tomcat6.x,其余去掉
5.更改jsp默认打开的形式
window-preferences-general-editors-file associations
6.自动提示功能
window-preferences-Java-Editor-Content Assist在Auto-Activation
下的for Java后面输入.abcdefghijklmnopqrstuvwxyz-Apply-OK
7.Eclipse注释模板
window-preferences-Java-Code Style-Code Template
(1)Comments-Types 类注释
/**
* ━━━━━━神兽出没━━━━━━
* ┏┓ ┏┓
* ┏┛┻━━━┛┻┓
* ┃ ┃
* ┃ ━ ┃
* ┃ ┳┛ ┗┳ ┃
* ┃ ┃
* ┃ ┻ ┃
* ┃ ┃
* ┗━┓ ┏━┛Code is far away from bug with the animal protecting
* ┃ ┃ 神兽保佑,代码无bug
* ┃ ┃
* ┃ ┗━━━┓
* ┃ ┣┓
* ┃ ┏┛
* ┗┓┓┏━┳┓┏┛
* ┃┫┫ ┃┫┫
* ┗┻┛ ┗┻┛
*
* ━━━━━━感觉萌萌哒━━━━━━
* @author 名字
* @ClassName ${type_name}
* @Version 版本
* @ModifiedBy 修改人
* @Copyright 公司名称
* @date ${date} ${time}
* ${tags}
*/
(2)Comments-Methods 方法注释
/**
* @author 名字
* @date ${date} ${time}
* ${tags}
*/
(3)Comments-Overriding methods 重写注释
/**
* @author 名字
* @date ${date} ${time}
* ${tags}
*/
(4)Comments-Delegate methods
/**
* @author 名字
* @date ${date} ${time}
* ${tags}
*/
8.字体大小
window-preference-General-Appearance-Colors and Fonts
(1)Basic-Text Font
字体:Courier New
字形:常规
大小:四号(或14)
9.控制台字体
点击控制台右键-preferences-Run/Debug-Console
(1)Background color背景色-黑色
(2)Standard Out text color控制台输出-绿色
10.显示行号
window-preference-Editors-Text Editor-选中Show line numbers
或者在类中左边右键,选中Show line numbers
11.去掉Folding
右键行号位置-Folding-Enable Folding
12.myeclipse修改默认创建JSP编码
window-preferences-myeclipse enterprise workbench-file and editors-jsp
在这个页面里边就有了Encoding
相关文章推荐
- MyEclipse Web Project转Eclipse Dynamic Web Project
- MyEclipse常用配置图文教程
- MyEclipse连接MySQL数据库报错解决办法
- 在myeclipse中如何加入jquery代码提示功能
- MyEclipse 6.0.1 6.0GA 6.0M1 5.5GA 5.1.1GA 注册码及高速下载地址
- javascript在myeclipse中报错的解决方法
- eclipse3.2.2 + MyEclipse5.5 + Tomcat5.5.27 配置数据库连接池
- eclipse+myeclipse 环境配置方法
- 设置Myeclipse中的代码格式化、注释模板及保存时自动格式化
- myeclipse安装jQuery插件的方法
- MyEclipse到期破解代码分享
- myeclipse智能提示设置的实现方法
- 用MyEclipse配置DataBase Explorer(图示)
- Struts2 入门小程序 -- Myeclipse 9.1下
- SpringMVC入门小程序 -- Myeclipse 9.1下
- SpringMVC+Spring3+Hibernate4
- maven 使用 问题记录
- MyEclipse7.5+JDK1.6+Tomcat6+Struts1.3+MySQL4.1开发演示
- 图文教程:使用MyEclipse的hibernate工具从数据库反向生成实体Bean
- STS,MyEclipse中Maven配置