Browse Source

docs: update settings.json

xiaoxian521 3 years ago
parent
commit
ea97cb20f3
1 changed files with 9 additions and 30 deletions
  1. 9 30
      .vscode/settings.json

+ 9 - 30
.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"
   }
 }