更新 settings.json

This commit is contained in:
colin 2025-09-12 11:17:32 +08:00
parent da28b8c287
commit b06b96aef6
1 changed files with 19 additions and 17 deletions

View File

@ -1,18 +1,20 @@
{ {
"editor.tabSize": 2, "editor.tabSize": 2,
"editor.rulers": [ 80 ], "editor.rulers": [
80
],
"workbench.startupEditor": "newUntitledFile", "workbench.startupEditor": "newUntitledFile",
"workbench.colorCustomizations": { "workbench.colorCustomizations": {
"editor.foldBackground": "#f9f4f4", "editor.foldBackground": "#f4efef00",
"editor.selectionBackground": "#fd9090", "editor.selectionBackground": "#fd9090",
"editor.selectionHighlightBackground": "#fdbed8", "editor.selectionHighlightBackground": "#fdbed800",
"editorOverviewRuler.findMatchForeground": "#0000ff", "editorOverviewRuler.findMatchForeground": "#0000ff00",
"editorOverviewRuler.selectionHighlightForeground": "#ff0000", "editorOverviewRuler.selectionHighlightForeground": "#ff000000",
"editorCursor.foreground": "#007523", "editorCursor.foreground": "#007523",
"editorBracketMatch.border": "#97d3aa", "editorBracketMatch.border": "#97d3aa",
"editorBracketMatch.background": "#97d3aa", "editorBracketMatch.background": "#97d3aa",
"editor.lineHighlightBackground": "#f0f0f0", "editor.lineHighlightBackground": "#f0f0f0",
"editor.findMatchHighlightBackground": "#e8ec69", "editor.findMatchHighlightBackground": "#e8ec6900",
"editor.findMatchBackground": "#e5e7a3", "editor.findMatchBackground": "#e5e7a3",
"terminal.background": "#f8f8f8", "terminal.background": "#f8f8f8",
"sideBar.foreground": "#000000", "sideBar.foreground": "#000000",
@ -23,8 +25,6 @@
}, },
"C_Cpp.errorSquiggles": "disabled", "C_Cpp.errorSquiggles": "disabled",
"C_Cpp.intelliSenseEngine": "default", "C_Cpp.intelliSenseEngine": "default",
"C_Cpp.default.cppStandard": "c++11",
"C_Cpp.default.cStandard": "c11",
"C_Cpp.workspaceParsingPriority": "high", "C_Cpp.workspaceParsingPriority": "high",
"editor.fontSize": 13, "editor.fontSize": 13,
"problems.decorations.enabled": false, "problems.decorations.enabled": false,
@ -88,9 +88,6 @@
"editor.fontFamily": "menlo,sarasa-fixed-sc-regular,NotoSansMonoCJKsc-Regular", "editor.fontFamily": "menlo,sarasa-fixed-sc-regular,NotoSansMonoCJKsc-Regular",
"terminal.integrated.inheritEnv": false, "terminal.integrated.inheritEnv": false,
"python.terminal.activateEnvironment": false, "python.terminal.activateEnvironment": false,
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
},
"editor.suggestSelection": "first", "editor.suggestSelection": "first",
"workbench.editor.decorations.badges": false, "workbench.editor.decorations.badges": false,
"notebook.cellToolbarLocation": { "notebook.cellToolbarLocation": {
@ -138,9 +135,6 @@
"window.commandCenter": false, "window.commandCenter": false,
"workbench.editor.enablePreview": false, "workbench.editor.enablePreview": false,
"diffEditor.useInlineViewWhenSpaceIsLimited": false, "diffEditor.useInlineViewWhenSpaceIsLimited": false,
"black-formatter.args": [
"--line-length=120",
],
"editor.hover.sticky": false, "editor.hover.sticky": false,
"editor.hover.enabled": false, "editor.hover.enabled": false,
"editor.hover.above": false, "editor.hover.above": false,
@ -167,7 +161,15 @@
"editor.minimap.showSlider": "always", "editor.minimap.showSlider": "always",
"C_Cpp.clang_format_style": "{BasedOnStyle: google, ColumnLimit: 120}", "C_Cpp.clang_format_style": "{BasedOnStyle: google, ColumnLimit: 120}",
"C_Cpp.clang_format_fallbackStyle": "{BasedOnStyle: google, ColumnLimit: 120}", "C_Cpp.clang_format_fallbackStyle": "{BasedOnStyle: google, ColumnLimit: 120}",
"editor.defaultFormatter": "xaver.clang-format", "C_Cpp.formatting": "clangFormat",
"clang-format.style": "{BasedOnStyle: google, ColumnLimit: 120}", "C_Cpp.clang_format_path": "/usr/bin/clang-format"
"workbench.activityBar.location": "hidden" // "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",
// ],
} }