From 52aa2aa0c175573f3517fc8a2964a47d554f1f31 Mon Sep 17 00:00:00 2001 From: kudzues Date: Sat, 10 Jan 2026 17:27:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.json | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 settings.json diff --git a/settings.json b/settings.json new file mode 100644 index 0000000..c0168fb --- /dev/null +++ b/settings.json @@ -0,0 +1,70 @@ +{ + // 单独语言设置 + "[javascript][json][jsonc]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + // 括号着色 + "editor.bracketPairColorization.enabled": true, + // 每组括号的颜色不同 + "editor.bracketPairColorization.independentColorPoolPerBracketType": true, + "editor.cursorBlinking": "expand", + "editor.cursorSmoothCaretAnimation": "on", + "editor.fontSize": 18, + "editor.fontFamily": "'JetBrains Maple Mono', monospace", + "editor.fontLigatures": false, + "editor.fontWeight": "normal", + // 括号之间有一条竖线 + "editor.guides.bracketPairs": "active", + "editor.inlineSuggest.enabled": true, + // 标签联动编辑 + "editor.linkedEditing": true, + // 显示编辑器中的所有空格 + "editor.renderWhitespace": "all", + "editor.renderControlCharacters": true, + "editor.snippetSuggestions": "bottom", + "editor.tabSize": 2, + "editor.tokenColorCustomizations": { + // 注释不是斜体 + "comments": { + "fontStyle": "" + } + }, + "emmet.triggerExpansionOnTab": true, + "explorer.confirmDragAndDrop": false, + "explorer.confirmDelete": false, + "files.autoSave": "onFocusChange", + "files.hotExit": "off", + // 删除行尾空格 + "files.trimTrailingWhitespace": true, + "javascript.autoClosingTags": true, + "javascript.inlayHints.parameterNames.enabled": "all", + "javascript.inlayHints.variableTypes.enabled": true, + "javascript.suggest.autoImports": true, + "javascript.updateImportsOnFileMove.enabled": "always", + "html.autoClosingTags": true, + // 不打开远程连接确认框 + "security.promptForRemoteFileProtocolHandling": false, + "security.workspace.trust.untrustedFiles": "open", + "terminal.integrated.cursorBlinking": true, + "terminal.integrated.cursorStyle": "underline", + "terminal.integrated.fontFamily": "'JetBrains Maple Mono', monospace", + "terminal.integrated.fontSize": 18, + "typescript.autoClosingTags": true, + "typescript.suggest.autoImports": true, + "typescript.updateImportsOnFileMove.enabled": "always", + "window.restoreWindows": "none", + "workbench.colorTheme": "Ayu Mirage Bordered", + "workbench.colorCustomizations": { + // 文件树左侧竖线颜色(桃花粉) + "tree.indentGuidesStroke": "#FFB996" + }, + // 打开文件不为预览模式 + "workbench.editor.enablePreview": false, + "workbench.settings.editor": "json", + // 文件树缩进 + "workbench.tree.indent": 14, + // 文件树左侧竖线显示 + "workbench.tree.renderIndentGuides": "always", + // --- Live Server --- + "liveServer.settings.donotShowInfoMsg": true +}