您的位置:首页 > 编程语言 > Java开发

myeclipse常用快捷键

2014-10-04 21:23 232 查看
Alt+/ Content Assist 代码提示
Ctrl+T 显示类的继承结构
Ctrl+O 列出类中的成员(成员变量、方法等)
Ctrl+/ 注释/取消注释
Ctrl+Shift+O 导入要使用的包、并去除不使用的包
Ctrl+Shift+F 格式化当前文件中的代码/格式化选中的代码
Ctrl+Alt+Up 复制当前行到下面
Ctrl+Alt+Down 复制当前行到上面
Ctrl+D 删除当前行/删除选中文本占的所有行
Ctrl+Shift+X 变为大写
Ctrl+Shift+Y 变为小写
shit+alt+a 块操作

MyEclipse设置编码方式:window——>preference——>MyEclipse——>Files and Editors,将每个子项的"Encoding"改为"ISO 10645/Unicode(UTF-8)",点Apply!
eclipse 整个项目中文编码设置: 选中项目名称 -> 首选项 -> 资源 -> Text file ecoding下选择对应的编码(一般选择UTF-8)
eclipse jsp页面中文编码设置位置:window ->preference ->web ->JSP Files
eclipse jsp页面字体大小设置位置; window ->preference ->General ->Appearance ->Colors and Fonts ->Structured Text Editors ->Aa Structured Text Editor Text Font.
eclipse java页面字体大小设置位置:window ->preference ->General ->Appearance ->Colors and Fonts ->java ->Aa Java editor text font.
eclipse 控制信息输出台字体大小设置位置:window ->preference ->General ->Appearance ->Colors and Fonts ->Debug ->Aa console Font
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: