清除无效import
ctrl+option+o
查看class/method简要信息
按住command+鼠标放在class/method名上面
进入class/method详细
按住command+左键单击
查看class/method调用位置
option+f7(+fn键)
代码格式化
option+command+l
查找
查看类的层次结构/实现类
control + H
查看类中所有方法
command + F12
移动代码
command + shift + 上下键
代码展开/折叠
折叠当前代码 command + -
展开当前代码 command + =
折叠所有代码 command + shi f t + -
展开所有代码 Command + shift + =
代码位置移动
跳转到上一个光标位置 command+option+左移键
跳转到下一个光标位置 command+option+右移键