Astyle for qtcreator

Astyle 一直是我很喜欢的代码格式化工具。

以下为ubuntu下在Qt creator 中作为插件使用的方法:

 

安装:

1 sudo apt-get install astyle -qq -y

 

配置:

Qt creator->Options->Environment->External Tools->Add,我格式化c++程序的参数如下:

posted @ 2012-10-22 17:01  strorehouse  阅读(992)  评论(0编辑  收藏  举报