当前位置: 代码迷 >> QT开发 >> 菜鸟问QtCreator代码自动排版方法
  详细解决方案

菜鸟问QtCreator代码自动排版方法

热度:76   发布时间:2016-04-25 04:27:53.0
初学者问QtCreator代码自动排版方法
如题。在windows上用惯了,直接全选后按Alt+F8自动排版。到了QtCreator(Linux)下就不习惯了。

------解决方案--------------------
ctrl + i
------解决方案--------------------
你可以自己设置的。

tools->options->enviorment->keyboard

filter里面选 AutoIndentSelection
------解决方案--------------------
全选 Ctrl + I
------解决方案--------------------
linux下格式化代码还是喜欢用astyle工具