feat(vscode): 更新设置以格式化修改部分并添加i18n-ally语言路径
All checks were successful
/ build-and-deploy-to-vercel (push) Successful in 1m44s
/ playwright (push) Successful in 2m36s
/ depcheck (push) Successful in 1m37s

This commit is contained in:
严浩
2024-11-15 11:35:04 +08:00
parent 6b5d34d183
commit b597d71eac

View File

@ -3,6 +3,7 @@
"source.fixAll": "explicit" "source.fixAll": "explicit"
}, },
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.formatOnSaveMode": "modifications", // 只格式化修改的部分
"[vue]": { "[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode"
}, },
@ -13,5 +14,6 @@
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode"
}, },
"typescript.tsdk": "node_modules/typescript/lib", "typescript.tsdk": "node_modules/typescript/lib",
"typescript.preferences.autoImportFileExcludePatterns": ["vue-router/auto$"] "typescript.preferences.autoImportFileExcludePatterns": ["vue-router/auto$"],
"i18n-ally.localesPaths": ["src/locales"]
} }