From c4b2a513dab790939f6a7b971c7dc93ab7b39b55 Mon Sep 17 00:00:00 2001 From: colin Date: Thu, 9 Dec 2021 18:49:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'settings.json'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.json | 131 ++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 100 insertions(+), 31 deletions(-) diff --git a/settings.json b/settings.json index 5e27197..a2fe95f 100644 --- a/settings.json +++ b/settings.json @@ -1,9 +1,6 @@ { "editor.tabSize": 2, - "C_Cpp.errorSquiggles": "Disabled", - "workbench.editor.enablePreview": false, "[cpp]": {}, - "C_Cpp.clang_format_style": "google", "editor.rulers": [ 80 ], @@ -19,23 +16,86 @@ "editor.lineHighlightBackground": "#f0f0f0", "editor.findMatchHighlightBackground": "#e0e480", "editor.findMatchBackground": "#e0e480", - "terminal.background" : "#f8f8f8", - "sideBar.foreground" : "#000000", + "terminal.background": "#f8f8f8", + "sideBar.foreground": "#000000", "tab.activeForeground": "#000000", "tab.inactiveForeground": "#000000", "quickInput.foreground": "#000000", + "editorError.foreground": "#00000000", }, - "C_Cpp.updateChannel": "Insiders", + "C_Cpp.autocomplete": "Disabled", + "C_Cpp.formatting": "Disabled", + "C_Cpp.errorSquiggles": "Disabled", + "C_Cpp.intelliSenseEngine": "Disabled", + "C_Cpp.clang_format_style": "google", + "C_Cpp.default.cppStandard": "c++11", + "C_Cpp.default.cStandard": "c11", + "C_Cpp.intelliSenseEngineFallback": "Enabled", + "C_Cpp.workspaceParsingPriority": "high", "editor.fontSize": 13, - "editor.tokenColorCustomizations": { - "comments":"#7c7c7c", - "keywords": "#808000", - "variables": "#000000", - "strings": "#008080", - "functions": "#800000", - "numbers": "#008000", - "types": "#400080", - }, + "clangd.arguments": [ + "--background-index", + "-j=6", + "--clang-tidy", + "--all-scopes-completion", + "--completion-style=detailed", + "--function-arg-placeholders", + "--header-insertion=iwyu", + "--pch-storage=disk", + ], + // "editor.tokenColorCustomizations": { + // "comments": "#7c7c7c", + // "keywords": "#808000", + // "variables": "#000000", + // "strings": "#008080", + // "functions": "#800000", + // "numbers": "#008000", + // "types": "#400080", + // }, + // "editor.semanticHighlighting.enabled": true, + // "editor.semanticTokenColorCustomizations": { + // "enabled": true, + // "rules": { + // "parameter": "#306b72", + // "class": { + // "fontStyle": "bold", + // "foreground": "#729de3" + // }, + // "function": { + // "foreground": "#e5b124" + // }, + // "variable": "#26cdca", + // "enum": "#397797", + // "enumMember": "#397797", + // "macro": { + // "foreground": "#8f5daf", + // "fontStyle": "bold" + // }, + // "method": { + // "foreground": "#e5b124", + // "fontStyle": "underline" + // }, + // "comment": "#505050", + // "namespace": { + // "foreground": "#00d780", + // "fontStyle": "bold" + // }, + // "*.readonly": { + // "fontStyle": "bold" + // }, + // "variable.readonly": { + // "foreground": "#8f5daf", + // "fontStyle": "bold" + // }, + // "*.static": { + // "fontStyle": "italic" + // }, + // "property": { + // "foreground": "#7ca6b7", + // "fontStyle": "underline" + // }, + // } + // }, "terminal.integrated.scrollback": 10000, "explorer.autoReveal": false, "editor.minimap.maxColumn": 80, @@ -78,20 +138,10 @@ "gitlens.blame.avatars": false, "gitlens.blame.compact": false, "editor.largeFileOptimizations": false, - "C_Cpp.default.intelliSenseMode": "clang-x64", - "C_Cpp.default.cppStandard": "c++11", - "C_Cpp.default.cStandard": "c11", - "C_Cpp.intelliSenseEngineFallback": "Enabled", - "terminal.integrated.inheritEnv": false, - "python.terminal.activateEnvironment": false, - "workbench.statusBar.visible": false, - "workbench.activityBar.visible": false, - "explorer.openEditors.visible": 15, - "workbench.editor.showTabs": true, + "explorer.openEditors.visible": 0, "breadcrumbs.enabled": true, "terminal.integrated.fontSize": 13, "window.menuBarVisibility": "compact", - "diffEditor.ignoreTrimWhitespace": false, "files.maxMemoryForLargeFilesMB": 8192, "json.maxItemsComputed": 50000, "cmake.configureOnOpen": false, @@ -101,14 +151,33 @@ "python.showStartPage": false, "workbench.colorTheme": "Default Light+", "rust.show_warnings": false, - "gitlens.views.lineHistory.enabled": true, "git.detectSubmodules": false, + "python.languageServer": "Pylance", "editor.fontFamily": "menlo,sarasa-fixed-sc-regular,NotoSansMonoCJKsc-Regular", + "rst.preview.pythonPath": "", "terminal.integrated.inheritEnv": false, "python.terminal.activateEnvironment": false, + "[python]": { + "editor.insertSpaces": true, + "editor.tabSize": 2 + }, + "workbench.editorAssociations": { + "*.ipynb": "jupyter-notebook" + }, + "editor.suggestSelection": "first", "workbench.editor.decorations.badges": false, - "workbench.editor.showTabs": true, + "workbench.iconTheme": "file-icons", + "open-in-vim.restoreCursorAfterVim": true, + "terminal.integrated.tabs.location": "left", + "terminal.integrated.tabs.enabled": false, + "notebook.cellToolbarLocation": { + "default": "right", + "jupyter-notebook": "left" + }, + "security.workspace.trust.untrustedFiles": "open", + "workbench.editor.enablePreview": false, + "files.associations": { + "BUILD": "bazel" + }, "scm.countBadge": "off", - "diffEditor.renderSideBySide": false, -} - +} \ No newline at end of file