-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Copilot can't edit files with Xcode #650
-
I will ask copilot to make changes in agent mode. I will be looking at the file and watch it make a change...That change looks good. I will then make another change to the file and remove the first change. It then won't be able to compile. It will spin as it trys to figure out why it's reverting its own code. This does not seem like a problem with the LLM it seems like it cannot update the file for some reason without stomping on changes it just made during the same chat. This is making Copilot almost unusable. Am I missing a setting.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 2 comments
-
@codynedved what Xcode Copilot version are you using?
Beta Was this translation helpful? Give feedback.
All reactions
-
Same problem here..
I get this and variants of this all the time now:
"I see the issue - my replace_string_in_file calls didn't work because the file still has the old content. Let me overwrite the entire file with a fresh version:"
If i let the LLM edit the files with external editors it works. But it gets confused...
Version 0.46.157
Xcode: 26.2 17C51
Beta Was this translation helpful? Give feedback.