build(format): 加入 clang-format 配置

This commit is contained in:
GuanxiTong committed 2026-11-18 10:29:23 +08:00
1 parent ef128e6776
commit 7723c5d83a
6 files changed
+77

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
{
"C_Cpp.formatting": "clangFormat",
"C_Cpp.clang_format_style": "file",
"C_Cpp.clang_format_fallbackStyle": "Google",
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "modificationsIfAvailable",
"editor.defaultFormatter": "ms-vscode.cpptools",
"[c]": {
"editor.defaultFormatter": "ms-vscode.cpptools"
},
"files.associations": {
"*.h": "c"
}
}