From 54a622ad05f882f9269e5c5a0d98f8f14db60c43 Mon Sep 17 00:00:00 2001 From: Vben Date: Mon, 26 Aug 2024 21:50:56 +0800 Subject: [PATCH] chore: update vscode settings.json (#4240) --- .vscode/settings.json | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 4fb65814ada..2f339f84a00 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -14,7 +14,6 @@ "editor.tabSize": 2, "editor.detectIndentation": false, "editor.cursorBlinking": "expand", - "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.largeFileOptimizations": false, "editor.accessibilitySupport": "off", "editor.cursorSmoothCaretAnimation": "on", @@ -37,7 +36,34 @@ "source.fixAll.stylelint": "explicit", "source.organizeImports": "never" }, - + "editor.defaultFormatter": "esbenp.prettier-vscode", + "[html]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[css]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[scss]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[javascript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[typescript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[json]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[markdown]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[jsonc]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[vue]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, // extensions "extensions.ignoreRecommendations": true,