1
willerce 2013 年 9 月 5 日 用格式化,Menu -> Code -> Reformat Code (ctrl+alt+l)
缩进的格式,换行,对齐方式可以在 Setting (ctrl+alt+s)(command+,) 中的 code style 中调整 |
2
jianghu52 2013 年 9 月 8 日
我比较喜欢sublime text 里面的对齐,不过用的插件
|
3
daweibao 2014 年 7 月 24 日
默认是Ctrl+Alt+L
要是快捷键冲突可以从下面方式找到更改 File --->Settings --->Keymap --->Main menu --->code --->Reformat Code |
5
lucat 2016 年 9 月 28 日
Ubuntu 下 ctrl+alt+ l 会和锁屏的冲突
用 ctrl + alt + i 即可 |