docs: update settings.json

This commit is contained in:
xiaoxian521 2021-10-13 16:17:54 +08:00
parent 262113525d
commit ea97cb20f3

39
.vscode/settings.json vendored
View File

@ -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", "terminal.integrated.rendererType": "dom",
"git.enableSmartCommit": true,
"editor.formatOnType": true, "editor.formatOnType": true,
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"window.zoomLevel": 1, "window.zoomLevel": 1,
"git.autofetch": true,
"workbench.iconTheme": "vscode-icons",
"javascript.updateImportsOnFileMove.enabled": "always", "javascript.updateImportsOnFileMove.enabled": "always",
"vsicons.dontShowNewVersionMessage": true,
"[vue]": { "[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode"
}, },
@ -23,20 +23,15 @@
"git.confirmSync": false, "git.confirmSync": false,
"workbench.startupEditor": "newUntitledFile", "workbench.startupEditor": "newUntitledFile",
"editor.suggestSelection": "first", "editor.suggestSelection": "first",
"vetur.completion.scaffoldSnippetSources": {
"vetur.experimental.templateInterpolationService": "true"
},
"vetur.validation.template": false,
"editor.acceptSuggestionOnCommitCharacter": false, "editor.acceptSuggestionOnCommitCharacter": false,
"vetur.format.defaultFormatter.js": "vscode-typescript",
"css.lint.propertyIgnoredDueToDisplay": "ignore", "css.lint.propertyIgnoredDueToDisplay": "ignore",
// // Prevent inline styles from being automatically formatted to all lowercase
"editor.quickSuggestions": { "editor.quickSuggestions": {
"other": true, "other": true,
"comments": true, "comments": true,
"strings": true "strings": true
}, },
// ts // Automatically fix some syntax errors of ts
"tslint.autoFixOnSave": true, "tslint.autoFixOnSave": true,
"files.associations": { "files.associations": {
// Specifies the location of snippets in the suggestion widget // Specifies the location of snippets in the suggestion widget
@ -48,21 +43,5 @@
"cSpell.userWords": ["sourcemap", "vite"], "cSpell.userWords": ["sourcemap", "vite"],
"editor.codeActionsOnSave": { "editor.codeActionsOnSave": {
"source.fixAll.eslint": true "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"
} }
} }