From b06b96aef6d5505892c455f4396e840afe3e2fd6 Mon Sep 17 00:00:00 2001 From: colin Date: Fri, 12 Sep 2025 11:17:32 +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 | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/settings.json b/settings.json index 3473e3a..97091c5 100644 --- a/settings.json +++ b/settings.json @@ -1,18 +1,20 @@ { "editor.tabSize": 2, - "editor.rulers": [ 80 ], + "editor.rulers": [ + 80 + ], "workbench.startupEditor": "newUntitledFile", "workbench.colorCustomizations": { - "editor.foldBackground": "#f9f4f4", + "editor.foldBackground": "#f4efef00", "editor.selectionBackground": "#fd9090", - "editor.selectionHighlightBackground": "#fdbed8", - "editorOverviewRuler.findMatchForeground": "#0000ff", - "editorOverviewRuler.selectionHighlightForeground": "#ff0000", + "editor.selectionHighlightBackground": "#fdbed800", + "editorOverviewRuler.findMatchForeground": "#0000ff00", + "editorOverviewRuler.selectionHighlightForeground": "#ff000000", "editorCursor.foreground": "#007523", "editorBracketMatch.border": "#97d3aa", "editorBracketMatch.background": "#97d3aa", "editor.lineHighlightBackground": "#f0f0f0", - "editor.findMatchHighlightBackground": "#e8ec69", + "editor.findMatchHighlightBackground": "#e8ec6900", "editor.findMatchBackground": "#e5e7a3", "terminal.background": "#f8f8f8", "sideBar.foreground": "#000000", @@ -23,8 +25,6 @@ }, "C_Cpp.errorSquiggles": "disabled", "C_Cpp.intelliSenseEngine": "default", - "C_Cpp.default.cppStandard": "c++11", - "C_Cpp.default.cStandard": "c11", "C_Cpp.workspaceParsingPriority": "high", "editor.fontSize": 13, "problems.decorations.enabled": false, @@ -88,9 +88,6 @@ "editor.fontFamily": "menlo,sarasa-fixed-sc-regular,NotoSansMonoCJKsc-Regular", "terminal.integrated.inheritEnv": false, "python.terminal.activateEnvironment": false, - "[python]": { - "editor.defaultFormatter": "ms-python.black-formatter" - }, "editor.suggestSelection": "first", "workbench.editor.decorations.badges": false, "notebook.cellToolbarLocation": { @@ -138,9 +135,6 @@ "window.commandCenter": false, "workbench.editor.enablePreview": false, "diffEditor.useInlineViewWhenSpaceIsLimited": false, - "black-formatter.args": [ - "--line-length=120", - ], "editor.hover.sticky": false, "editor.hover.enabled": false, "editor.hover.above": false, @@ -167,7 +161,15 @@ "editor.minimap.showSlider": "always", "C_Cpp.clang_format_style": "{BasedOnStyle: google, ColumnLimit: 120}", "C_Cpp.clang_format_fallbackStyle": "{BasedOnStyle: google, ColumnLimit: 120}", - "editor.defaultFormatter": "xaver.clang-format", - "clang-format.style": "{BasedOnStyle: google, ColumnLimit: 120}", - "workbench.activityBar.location": "hidden" + "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}", + "workbench.statusBar.visible": false, + // "[python]": { + // "editor.defaultFormatter": "ms-python.black-formatter" + // }, + // "black-formatter.args": [ + // "--line-length=120", + // ], } \ No newline at end of file