CopilotForXcode icon indicating copy to clipboard operation
CopilotForXcode copied to clipboard

Can Copilot finally fix the long existing writing to wrong file issue?

Open owenzhao opened this issue 2 months ago • 1 comments

Describe the bug

When writing to more than one files, especially when refactoring codes, copilot for Xcode likely to writing to the wrong file. That means it overwrites content to a file should be written to another. This issue is so big. As we have to drop all changes and both times and tokens are wasted.

Currently, I have to switch Copilot CLI to refactor code, which has no issue. So I think if this issue is related to Xcode, you may be consider using the raw file on the disk instead of operate them through Xcode.

Versions

  • Copilot for Xcode: 0.44.148
  • Xcode: 26.0.1
  • macOS: 26.0.1

Steps to reproduce 1. 2.

Screenshots

Logs

Additional context

owenzhao avatar Oct 27 '25 00:10 owenzhao

https://github.com/github/CopilotForXcode/issues/589

LiLu2312 avatar Oct 28 '25 09:10 LiLu2312