feat(vscode): 更新设置以格式化修改部分并添加i18n-ally语言路径

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