在QtCreator中配置clang-format以后,3d
每次都须要点击format current file,才会格式化当前代码。orm
设置Enable auto format on file save以后,每次修改Ctrl+S保存以后,代码自动格式化保存。blog