Mac中Android Studio快捷键设置
复制,删除
Duplicate Entire Lines : 复制选中行,改为( 花键+D )
delete line : 删除一行,改为( 花键+delete )
代码提示
class name completion : 代码提示,改为( alt+/ )
show intention Actions : 代码修正,改为( 花键 + 1 )
Cyclic Expand Word : 自动补词, 改为( control + . )
Override Methods : 快速override方法,改为( alt + enter )
Declaration : 按住花键的同时单击鼠标查看源码,改为( 花键 + Button1 Click)
Start new line : 任意位置,向下新开一行,改为( shift + enter )
搜索
Replace : 在当前页面替换,改为( 花键 + F )
find in path : 全局搜索,改为( 花键 + H )
find next : 快速定位到下一个,(花键 + K)
find previous : 快速定位到上一个,( shift + 花键 + K )
格式化代码
reformat code : 格式化代码,改为( shift + 花键 + F )
optimize imports : 导包,改为( shift + 花键 + O )
注释
comment with line comment : 单行注释,改为( 花键 + / )
comment with block comment : 文档注释,改为( shift + 花键 + / )