From 996d008a725af18f84e6a27d349754a624c6794f Mon Sep 17 00:00:00 2001 From: colin Date: Fri, 12 Sep 2025 11:27:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20settings.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.json | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/settings.json b/settings.json index 97091c5..9af86d2 100644 --- a/settings.json +++ b/settings.json @@ -162,14 +162,12 @@ "C_Cpp.clang_format_style": "{BasedOnStyle: google, ColumnLimit: 120}", "C_Cpp.clang_format_fallbackStyle": "{BasedOnStyle: google, ColumnLimit: 120}", "C_Cpp.formatting": "clangFormat", - "C_Cpp.clang_format_path": "/usr/bin/clang-format" - // "editor.defaultFormatter": "xaver.clang-format", - // "clang-format.style": "{BasedOnStyle: google, ColumnLimit: 120}", + "C_Cpp.clang_format_path": "/usr/bin/clang-format", + "[python]": { + "editor.defaultFormatter": "ms-python.black-formatter" + }, + "black-formatter.args": [ + "--line-length=120", + ], "workbench.statusBar.visible": false, - // "[python]": { - // "editor.defaultFormatter": "ms-python.black-formatter" - // }, - // "black-formatter.args": [ - // "--line-length=120", - // ], } \ No newline at end of file