fix: vscode settings.json

This commit is contained in:
xiaoxian521 2022-01-18 17:00:30 +08:00
parent b8ada350a9
commit 32af28fb9f

View File

@ -10,7 +10,6 @@
* TypeScript Vue Plugin (Volar) * TypeScript Vue Plugin (Volar)
* Vue Language Features (Volar) * Vue Language Features (Volar)
*/ */
"terminal.integrated.rendererType": "dom",
"editor.formatOnType": true, "editor.formatOnType": true,
"editor.formatOnSave": true, "editor.formatOnSave": true,
"javascript.updateImportsOnFileMove.enabled": "always", "javascript.updateImportsOnFileMove.enabled": "always",
@ -34,8 +33,6 @@
"comments": true, "comments": true,
"strings": true "strings": true
}, },
// Automatically fix some syntax errors of ts
"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
"editor.snippetSuggestions": "top" "editor.snippetSuggestions": "top"
@ -43,11 +40,9 @@
"[css]": { "[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode"
}, },
"cSpell.userWords": ["sourcemap", "vite"],
"editor.codeActionsOnSave": { "editor.codeActionsOnSave": {
"source.fixAll.eslint": true "source.fixAll.eslint": true
}, },
"volar.tsPlugin": true,
"typescript.tsdk": "node_modules/typescript/lib", "typescript.tsdk": "node_modules/typescript/lib",
"i18n-ally.localesPaths": ["src/plugins/i18n"], "i18n-ally.localesPaths": ["src/plugins/i18n"],
"i18n-ally.keystyle": "nested", "i18n-ally.keystyle": "nested",