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",
"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"
}
}