Astyle for qtcreator
Astyle 一直是我很喜欢的代码格式化工具。
以下为ubuntu下在Qt creator 中作为插件使用的方法:
安装:
1 sudo apt-get install astyle -qq -y
配置:
Qt creator->Options->Environment->External Tools->Add,我格式化c++程序的参数如下:
Astyle 一直是我很喜欢的代码格式化工具。
以下为ubuntu下在Qt creator 中作为插件使用的方法:
安装:
1 sudo apt-get install astyle -qq -y
配置:
Qt creator->Options->Environment->External Tools->Add,我格式化c++程序的参数如下: