From a8f0dd94b7ae5c94478333c4695709aee4ba2251 Mon Sep 17 00:00:00 2001 From: baozaotumao Date: Mon, 1 Jun 2026 21:51:32 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20.vscode=20=E9=85=8D=E7=BD=AE=E5=8A=A0?= =?UTF-8?q?=E5=85=A5=20=5Fskip=5Fif=5Fexists=EF=BC=8C=E4=B8=8D=E8=A6=86?= =?UTF-8?q?=E7=9B=96=E7=94=A8=E6=88=B7=E5=B7=B2=E6=9C=89=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E5=99=A8=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - settings.json / extensions.json / tasks.json 已存在则保留用户的 - 新项目仍会生成完整配置;retrofit/copier update 不破坏已有个人配置 - 测试:全新生成拿到配置 / 自定义配置重复生成被保留 / 删除后可补回 --- copier.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/copier.yml b/copier.yml index 3b6f970..60426ec 100644 --- a/copier.yml +++ b/copier.yml @@ -8,6 +8,10 @@ _skip_if_exists: - "agent/src/**" - "frontend/src/**" - "**/.env" + # 编辑器配置:已有则保留用户自己的,不覆盖(新项目仍会生成) + - ".vscode/settings.json" + - ".vscode/extensions.json" + - ".vscode/tasks.json" _exclude: - copier.yml