android studio 如何进行格式化代码 快捷键必备

在Eclipse中,我们一般使用Ctrl+Shift+F来格式化代码,Android Studio中需要换成:

 

Reformat code CTRL + ALT + L (Win)
OPTION + CMD + L (Mac)
程序员小冰博客:http://blog.csdn.net/qq_21376985 技术交流QQ986945193 微博:http://weibo.com/mcxiaobing
原文地址:https://www.cnblogs.com/mcxiaobing/p/5472110.html