zjx2388 发表于 2013-1-14 23:03:43

MyEclipse个人设置or快捷方式(待续)

修改文件的默认显示设置:
window-->Preferences-->General-->Editors-->File Associations-->在右上边的框中选中要修改的文件类型,如:*.jsp-->在右下边修改需要的默认显示编辑器,如:MyEclipse JSP Editor....-->Default-->OK
 
添加自己的库:
Window-->Preference-->Java-->Build Path-->User Libraries-->New...
 
 
屏蔽对文件的错误校验:
要屏蔽的文件——(右键)——MyEclipse——Exclude From Validation
 
管理User Libraries:
Window——Preferences——Java——Build Path——User Libraries
 
设置提示间隔:
Window——Preferences——Java——Editor——Content Assist——Auto-Activation
 
设置JSP默认的charset:
Window——Preferences——MyEclipse——Files and Editors——JSP——Creating files——Encoding
 
重命名Web项目:
◆F2——修改项目名
◆修改上下文路径
项目——(右键)——Properties——MyEclipse——Web——Context Root
 
切换工作区:
File——SwitchWorkspace——Other
 
代码格式化:
选中要格式化的代码——右键——(Source——)Format
选中要格式化的代码——Ctrl+Shift+F
 
块注释:
选中要注释的代码块——Ctrl+/
 
提示标签、属性:
Ctrl+Shift+<
 
转到定义:
F3
 
切换工作空间:
File——Switch Workspace——Other
 
设置JSP字符集:
Window——Preferences——MyEclipse Enterprise Workbench——Files and Editors——JSP——Creating files——Encoding
 
重写:
在要重写的方法所在的类体中,右键——Source——Override/Implement Methods
 
关闭derby:
Window——Preferences——General——Startup and shutdown
 
设置doc路径:
选中.jar——右键——Properties——Javadoc Location——Javadoc in archive——External file或Javadoc URL
 
拼写检查设置:
Window——Perferences——General——Editors——Text Editors——Spelling——Enable spell checking
Project——Clean
 
代码片段管理:
选中一段代码——右键——Add to Snippets
 
 
页: [1]
查看完整版本: MyEclipse个人设置or快捷方式(待续)