Eclipse 自动排版快捷键:
ctrl+A,全选代码
ctrl+I,排版
VisualStudio2010 自动排版快捷键:
ctrl+A,全选代码
ctrl+K,ctrl+D,按住ctrl键不动,按一下K,然后按一下D
补充:或者尝试 Alt + F8
BBEdit 自动排版快捷键:
(BBEdit是mac平台下比较著名的编辑器,最近正在用)
command+A,全选代码
shift+option+command+F, format代码
原文地址:http://blog.csdn.net/davidbeckham2901/article/details/7340386
最近只用到这几种工具,不知道还有什么其他IDE的排版代码的快捷键,大家可以留言告诉我,我给加上