diff --git a/.vscode/settings.json b/.vscode/settings.json index 29add1d4c..6aa882bff 100755 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -19,6 +19,12 @@ "editor.formatOnType": true, "editor.formatOnSave": true, }, + "[cpp]": { + "editor.defaultFormatter": "xaver.clang-format", + "editor.formatOnPaste": true, + "editor.formatOnType": true, + "editor.formatOnSave": true, + }, "qttools.injectNatvisFile": false, "cmake.debugConfig": { "visualizerFile": "${workspaceFolder}/.vscode/qt5.natvis.xml",