1、先CRTL + A来选中需要整理的代码块。当然CRTL + A代表选中一个文件的所有代码。 2、然后CRTL + ALT + L,对,就是要记住这个快捷键。 转载于:https://www.cnblogs.com/igoodful/p/10508454.html