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

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

 

安装:

1 sudo apt-get install astyle -qq -y

 

配置:

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

Astyle for qtcreator

相关文章:

  • 2022-12-23
  • 2021-09-29
  • 2021-06-13
  • 2022-12-23
  • 2021-09-03
  • 2021-08-07
  • 2022-01-16
  • 2022-02-01
猜你喜欢
  • 2021-04-11
  • 2021-10-31
  • 2021-08-03
  • 2021-05-16
  • 2021-07-24
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案