Loading... ** 查找类** ` Command + O` ** 查找文件** `Command + Shift + O ` ** 全局搜索(Find in path)** `Command + Shift + F` ** 格式化代码** `Command + Option + L` ** 导入包 imports** `Control + Option + O` ** 代码自动生成 (主针对类属性)** `Command + N` ** 快捷生成语句 (if…else / try…catch /等)** `Command + Option + T` ** 复制当前行或者选中的代码** `Command + D` ** 重命名** `Shift + F6` ** 返回上一个编辑的位置** `Command + Shift + Backspace` ** 折叠/展开当前代码块** `Command + 减号/加号` ** 显示选中方法的参数** `Command + P` ** 跳转到实现的代码 ** `Command + Alt + B` ** 跳转到父类方法/超类** `Command + U` ** 跳转到下一个/上一个高亮错误** `F2 / Shift + F2` ** 代码内联(Inline,比如把全局属性变为局部属性)** `Command + Option + N` ** 把代码块提取为方法** `Command + Option + M` ** 把选中代码提取为变量** `Command + Option + V` ** 把方法内选中代码提取为属性(局部到全局,与 Inline相反)** `Command + Option + F` ** 提取为常量** `Command + Option + C` ** 提取为方法的参数** `Command + Option + P` ** 补全当前语句(比如自动加分号,自动加花括号)** `Command + Shift + Enter` ** 打开调用层级结构** `Control + Option + H` ** Open VCS popup** `Control + V` ** 补全当前语句(比如自动加分号,自动加花括号)** `Command + Shift + Enter` ** 智能代码补全** `Control + Shift + Space` Last modification:April 2nd, 2019 at 06:33 pm © 允许规范转载 Support If you think my article is useful to you, please feel free to appreciate ×Close Appreciate the author Sweeping payments