From b597d71eac1a31cbb2f49fc0152bd1e72e9cba8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Fri, 15 Nov 2024 11:35:04 +0800 Subject: [PATCH] =?UTF-8?q?feat(vscode):=20=E6=9B=B4=E6=96=B0=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E4=BB=A5=E6=A0=BC=E5=BC=8F=E5=8C=96=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E9=83=A8=E5=88=86=E5=B9=B6=E6=B7=BB=E5=8A=A0i18n-ally=E8=AF=AD?= =?UTF-8?q?=E8=A8=80=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 96ff7b6..2c1892d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,15 +3,17 @@ "source.fixAll": "explicit" }, "editor.formatOnSave": true, + "editor.formatOnSaveMode": "modifications", // 只格式化修改的部分 "[vue]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[jsonc]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, - "[typescript]":{ + "[typescript]": { "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"] }