From 1c7162e1e5059bbe80700c6b3634a40e257fbcc3 Mon Sep 17 00:00:00 2001 From: colin Date: Fri, 19 May 2023 15:59:36 +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 | 168 +++++++++++++++++++++++++------------------------- 1 file changed, 84 insertions(+), 84 deletions(-) diff --git a/settings.json b/settings.json index a8a000e..05828e8 100644 --- a/settings.json +++ b/settings.json @@ -1,11 +1,14 @@ { "editor.tabSize": 2, - "[cpp]": {}, + "[cpp]": { + "editor.defaultFormatter": "ms-vscode.cpptools" + }, "editor.rulers": [ 80 ], "workbench.startupEditor": "newUntitledFile", "workbench.colorCustomizations": { + "editor.foldBackground": "#f9f4f4", "editor.selectionBackground": "#fd9090", "editor.selectionHighlightBackground": "#fdbed8", "editorOverviewRuler.findMatchForeground": "#0000ff", @@ -25,85 +28,33 @@ }, // "C_Cpp.autocomplete": "Disabled", // "C_Cpp.formatting": "Disabled", - "C_Cpp.errorSquiggles": "Disabled", - "C_Cpp.intelliSenseEngine": "Default", - "C_Cpp.clang_format_style": "google", + "C_Cpp.errorSquiggles": "disabled", + "C_Cpp.intelliSenseEngine": "default", "C_Cpp.default.cppStandard": "c++11", "C_Cpp.default.cStandard": "c11", - "C_Cpp.intelliSenseEngineFallback": "Enabled", + "C_Cpp.intelliSenseEngineFallback": "enabled", "C_Cpp.workspaceParsingPriority": "high", "editor.fontSize": 13, "problems.decorations.enabled": false, "editor.tokenColorCustomizations": { - "comments": "#7c7c7c", + "comments":"#7c7c7c", "keywords": "#808000", "variables": "#000000", "strings": "#008080", "functions": "#800000", "numbers": "#008000", - "types": "#400080", + "types": "#400080", }, "terminal.integrated.scrollback": 10000, "explorer.autoReveal": false, "editor.minimap.maxColumn": 80, - "editor.minimap.showSlider": "always", - "editor.minimap.renderCharacters": false, - "window.zoomLevel": 1.5, + "gitlens.currentLine.enabled": false, + "gitlens.hovers.currentLine.over": "line", + "gitlens.mode.statusBar.enabled": false, + "gitlens.hovers.enabled": false, + "gitlens.codeLens.authors.enabled": false, + "gitlens.codeLens.recentChange.enabled": false, "python.linting.pylintEnabled": false, - "editor.largeFileOptimizations": false, - "explorer.openEditors.visible": 0, - "breadcrumbs.enabled": true, - "terminal.integrated.fontSize": 13, - "window.menuBarVisibility": "compact", - "files.maxMemoryForLargeFilesMB": 8192, - "json.maxItemsComputed": 50000, - "cmake.configureOnOpen": false, - "extensions.ignoreRecommendations": false, - "editor.cursorBlinking": "solid", - "window.title": "【 ${folderName} 】【 ${remoteName} 】${folderPath}", - "python.showStartPage": false, - "workbench.colorTheme": "Default Light+", - "rust.show_warnings": false, - "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.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", - "workbench.statusBar.visible": false, - "terminal.integrated.defaultProfile.linux": "zsh", - "editor.bracketPairColorization.enabled": true, - "systemverilog.formatCommand": "verible-verilog-format --column_limit 80", - "diffEditor.maxComputationTime": 0, - "diffEditor.ignoreTrimWhitespace": false, - "workbench.tree.indent": 32, - "workbench.tree.renderIndentGuides": "always", - "editor.autoClosingQuotes": "never", - "editor.autoClosingBrackets": "never", - "cmake.configureOnEdit": false, "gitlens.menus": { "editor": false, "editorGroup": false, @@ -123,32 +74,81 @@ "stash": true } }, + "gitlens.blame.highlight.locations": [ + "gutter", + "line", + "overview" + ], "gitlens.blame.highlight.enabled": false, - "gitlens.hovers.currentLine.over": "line", - "gitlens.mode.statusBar.enabled": false, - "gitlens.codeLens.authors.enabled": false, - "gitlens.advanced.fileHistoryFollowsRenames": true, - "gitlens.currentLine.enabled": false, - "gitlens.codeLens.recentChange.enabled": false, - "gitlens.codeLens.enabled": false, - "gitlens.statusBar.enabled": false, - "gitlens.hovers.enabled": false, "gitlens.blame.heatmap.enabled": false, "gitlens.blame.avatars": false, "gitlens.blame.compact": false, - "gitlens.heatmap.locations": [], - "workbench.activityBar.visible": false, - "emeraldwalk.runonsave": { - "commands": [ - { - "match": ".td", - "isAsync": true, - "cmd": "clang-format -i ${file}" - } - ] + "editor.largeFileOptimizations": false, + "explorer.openEditors.visible": 0, + "breadcrumbs.enabled": true, + "terminal.integrated.fontSize": 13, + "window.menuBarVisibility": "compact", + "files.maxMemoryForLargeFilesMB": 8192, + "json.maxItemsComputed": 50000, + "cmake.configureOnOpen": false, + "extensions.ignoreRecommendations": false, + "editor.cursorBlinking": "solid", + "window.title": "【 ${folderName} 】【 ${remoteName} 】${folderPath}", + "python.showStartPage": false, + "workbench.colorTheme": "Default Light+", + "rust.show_warnings": false, + "git.detectSubmodules": false, + "python.languageServer": "Jedi", + "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, + "open-in-vim.restoreCursorAfterVim": true, + "notebook.cellToolbarLocation": { + "default": "right", + "jupyter-notebook": "left" + }, + "security.workspace.trust.untrustedFiles": "open", + "workbench.editor.enablePreview": false, + "files.associations": { + "BUILD": "bazel" + }, + "scm.countBadge": "off", + "terminal.integrated.defaultProfile.linux": "zsh", + "editor.bracketPairColorization.enabled": true, + "systemverilog.formatCommand": "verible-verilog-format --column_limit 80", + "diffEditor.maxComputationTime": 0, + "diffEditor.ignoreTrimWhitespace": false, + "terminal.integrated.tabs.enabled": false, + "files.watcherExclude": { + "**/.bloop": true, + "**/.metals": true, + "**/.ammonite": true + }, + "workbench.tree.indent": 28, + "workbench.tree.renderIndentGuides": "always", + "systemverilog.maxLineCountIndexing": 1000000, + "C_Cpp.clang_format_fallbackStyle": "google", + "cmake.configureOnEdit": false, + "window.zoomLevel": 1, + "editor.minimap.showSlider": "always", + "editor.minimap.renderCharacters": false, "editor.autoClosingBrackets": "never", "editor.autoClosingQuotes": "never", "editor.autoClosingOvertype": "never", - "editor.autoClosingDelete": "never" + "editor.autoClosingDelete": "never", + "fonted.font": "menlo", + "git.openRepositoryInParentFolders": "never", + "workbench.statusBar.visible": false, + "editor.minimap.enabled": false, + "workbench.activityBar.visible": false } \ No newline at end of file