说明
从win换到mac,很多快捷键还不熟练,记录自己所遇到的。会不定时更新
- 删除一行:command + y
- 复制当前行到下一行:command + d
- 抛出异常:alt + enter
- 添加代码块:command + alt + t
- 添加重写方法:command + o
- 自动补全返回值:command + alt + v
- 整理 import:command + alt + o
- 开发过程中进入方法的源码观看:
回到上一步:command + alt + 左方向;
下一步:command + alt + 右方向
8.查看类下面的所有方法:command + F12