Mac AS 快捷键

132 阅读1分钟

大小写转换 Command + Shift + U

上下移动代码 Option + Shift + Up/Down

清除无效包引用 Option + Control + O

折叠展开代码块 Command + .,Minus

文件方法结构 Command + F12

快捷覆写方法 Control + O

代码格式化 Option + Cmd + L

移动光标 Option + Right/Left //非常有用

移动光标到行首或行尾 Command + Right/Left ////非常有用

移动导航文件位置: Command+Option+Left\Right

添加代码查看书签: 快捷键F3

查看代码书签:Command + F3

当前页面上对指定方法进行预览: Command + Y

查看某方法的调用栈: Control + Option + H