win及mac下Android studio的常用快捷键

版权声明:本文为博主原创文章,但部分内容来源网络,如有侵权,告知即删! https://blog.csdn.net/chenyuan_jhon/article/details/83580807

编写代码

说明 win mac
生成代码(getter、setter、构造、toString等) Alt + Insert Command + N
控制语句 Ctrl + Alt + T Command + Option + T
项目快速修复(如导包) Alt + Enter Option + Enter

重构

说明 win mac
安全删除 Alt + Delete Command + Delete
提取变量 Ctrl + Alt + V Command + Option + V
提取字段 Ctrl + Alt + F Command + Option + F
提取常量 Ctrl + Alt + C Command + Option + C
提取参数 Ctrl + Alt + P Command + Option + P

猜你喜欢

转载自blog.csdn.net/chenyuan_jhon/article/details/83580807
今日推荐