Mac快捷键
常用快捷键
1. 查看磁盘文件 在访达中 command+shift+C
IJ IEDA 快捷键
command + N
1.当光标在代码编辑界面时,生成setter getter等
2.当光标在左侧工程结构时,创建新类/包等
command + delete 删除当前行
command + D 复制当前行
command + option+M 将当前选中到代码块抽取为方法
command + E 最近浏览的文体
option + command + L 格式化代码
shift + option + ⬇️ 将当前代码整体下移一行(上移同理)
shift + ctrl + R 编译并执行
command + option + U 在当前类中,查看继承关系视图
command + option + 左键/右键 将光标返回到上次查看代码的地方
option + 回车键 引入class
control + option + O 去掉不使用的import class
command + F12 查找当前类的方法
command + R 查找和替换
command + shift + R 全局查找特定关键词
double shift (快速按两次shift键) 快速查找类
command + O 可以查找引入JAR包内class