http://www.cppblog.com/jxtgddlt/archive/2012/01/08/163843.aspx ctrl+e+f:格式化所选中代码 有时候是ctrl+k+f alt+f8:也可以