QtCreator配置Clang-Format代码自动格式化

在QtCreator中配置clang-format之后,

每次都需要点击format current file,才会格式化当前代码。

设置Enable auto format on file save之后,每次修改Ctrl+S保存之后,代码自动格式化保存。

猜你喜欢

转载自www.cnblogs.com/tangjicheng/p/9080338.html