shift + shift 查找任何东西
command + c 复制当前行
command + x 剪切当前行
command + delete 删除当前行
option + enter 导入类
command + n 生成代码
command + o 打开类
command + shift + o 打开所有类型文件
command + option + o 前往指定的变量/方法
command + e 显示最近打开的文件列表
command + l 跳至文件指定行
command + option + l 格式化代码
command + shift + f 全局查找(根据路径)
command + r 文件内替换
command + shift + r 全局替换(根据路径)
command + / 注释/取消注释
command + option + / 块注释/取消块注释
command + option + t 包围代码(使用if…else,try…catch,for,synchronized等包围选中的代码)
command + option + 左箭头 退回到上一个操作的地方
command + option + 右箭头 前进到上一个操作的地方
command + option + b 在某个调用的方法名上使用会跳到具体的实现处,可以跳过接口
control + h 显示当前类的层次结构
control + option + h 显示调用层次结构
shift + tab 往左缩进
command + p 方法参数提示
control + option + o 删除无用引用
F5 复制文件到指定目录
F6 移动文件到指定目录
shift + F6 重命名文件
public static void main psvm 选中即可
System.out.println(); sout 选中即可
fori 创建循环