From ea97cb20f35a4368f8334b480c232060908f20a5 Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Wed, 13 Oct 2021 16:17:54 +0800 Subject: [PATCH] docs: update settings.json --- .vscode/settings.json | 39 +++++++++------------------------------ 1 file changed, 9 insertions(+), 30 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 5f628003b..2f04c3a1b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,16 +1,16 @@ { - "explorer.confirmDelete": false, + // You should install these plugins: + // ESLint + // Prettier - Code formatter + // stylelint + // vscode-icons + // TypeScript Vue Plugin (Volar) + // Vue Language Features (Volar) "terminal.integrated.rendererType": "dom", - "git.enableSmartCommit": true, "editor.formatOnType": true, "editor.formatOnSave": true, - "editor.fontFamily": "Fira Code", - "editor.fontLigatures": true, "window.zoomLevel": 1, - "git.autofetch": true, - "workbench.iconTheme": "vscode-icons", "javascript.updateImportsOnFileMove.enabled": "always", - "vsicons.dontShowNewVersionMessage": true, "[vue]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, @@ -23,20 +23,15 @@ "git.confirmSync": false, "workbench.startupEditor": "newUntitledFile", "editor.suggestSelection": "first", - "vetur.completion.scaffoldSnippetSources": { - "vetur.experimental.templateInterpolationService": "true" - }, - "vetur.validation.template": false, "editor.acceptSuggestionOnCommitCharacter": false, - "vetur.format.defaultFormatter.js": "vscode-typescript", "css.lint.propertyIgnoredDueToDisplay": "ignore", - // 防止行内样式自动格式化为全小写 + // Prevent inline styles from being automatically formatted to all lowercase "editor.quickSuggestions": { "other": true, "comments": true, "strings": true }, - // 自动修复ts的一些语法报错 + // Automatically fix some syntax errors of ts "tslint.autoFixOnSave": true, "files.associations": { // Specifies the location of snippets in the suggestion widget @@ -48,21 +43,5 @@ "cSpell.userWords": ["sourcemap", "vite"], "editor.codeActionsOnSave": { "source.fixAll.eslint": true - }, - "[markdown]": { - "editor.defaultFormatter": "rvest.vs-code-prettier-eslint" - }, - "gitlens.advanced.messages": { - "suppressLineUncommittedWarning": true - }, - "workbench.colorTheme": "One Dark Pro Darker", - "[typescriptreact]": { - "editor.defaultFormatter": "rvest.vs-code-prettier-eslint" - }, - "[scss]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, - "[typescript]": { - "editor.defaultFormatter": "rvest.vs-code-prettier-eslint" } }