在QtCreator中配置clang-format以後,3d
每次都須要點擊format current file,纔會格式化當前代碼。orm
設置Enable auto format on file save以後,每次修改Ctrl+S保存以後,代碼自動格式化保存。blog