github / github/CopilotForXcode

Copilot wrote codes to wrong files in Agent mode

オープン
#453 コメント 11 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Swift
スター
6.3k
フォーク
2k
平均マージ
2分
マージ済み PR(30日)
2

説明

**Describe the bug**

**Versions**
- Copilot for Xcode: 0.41.0
- Xcode: 26.0 beta 5 (17A5295f)
- macOS: 26.0 Beta (25A5338b)

**Steps to reproduce**
When using Agent mode to fix bugs, sometimes Copilot will write code to the wrong file and make content duplicated.

For example, with a SPM project, Copilot wrote codes of Package.swift to swift file in sources. And it could not found this was bug until I pointed out.

It also happened with normal .xcodeproj project between .swift files.

When this happens, the whole file content will be replaced. You will lost one file and have two duplicated files.

Can you investigate and fix it?

**Screenshots**

**Logs**

**Additional context**

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。