Mac下 Android studio常用快捷键的整理

博客转移到个人站点:
http://www.wangchengmeng.club/2018/02/01/Mac%E4%B8%8BAndroidstudio%E5%B8%B8%E7%94%A8%E5%BF%AB%E6%8D%B7%E9%94%AE%E7%9A%84%E6%95%B4%E7%90%86/

欢迎来吐槽

刚进到一家公司,配备mac开发,一直熟悉于windows系统的小白,熟悉了一整天,没有快捷键的开发,太难受,简单总结一下常用的一些快捷键。

Mac 下android studio 快捷键总结:

command+n 生成getter/setter/constructer方法

control+h 现实类的层级

command+o. 搜索类

alt+enter. 快速修复

command+alt+L 格式化代码

command+alt+F 抽取为成员变量

command+alt+v 自动声明变量

扫描二维码关注公众号,回复: 597153 查看本文章

control+o. 查看能够重写的方法

alt+F7(fn). 查看方法做哪儿被调用

F4(fn) 查看定位到变量声明的位置

command+U 查看父类的同名方法

command+alt+b. 选中一个被调用的方法,进入到该方法

command+r 替换

command+f find

command+shift+U 大小写切换

shift+F6(fn) 重命名

command+shift+enter 光标换行

command+D 复制整行

command+x。 剪切整行

command+shift+上下键 移动整行

control+alt+O 去除无效导包

博客转移到个人站点:
http://www.wangchengmeng.club/2018/02/01/Mac%E4%B8%8BAndroidstudio%E5%B8%B8%E7%94%A8%E5%BF%AB%E6%8D%B7%E9%94%AE%E7%9A%84%E6%95%B4%E7%90%86/

欢迎来吐槽

猜你喜欢

转载自blog.csdn.net/xiaohuanqi/article/details/61196287
今日推荐