Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Copilot can't edit files with Xcode #650

codynedved started this conversation in General
Discussion options

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.

You must be logged in to vote

Replies: 2 comments

Comment options

@codynedved what Xcode Copilot version are you using?

You must be logged in to vote
0 replies
Comment options

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

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /