github / github/CopilotForXcode

Corrupt files being generated constantly

Open
#309 19 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
6.3k
Forks
2k
Avg merge
2m
Merged PRs (30d)
2

Description

Here you go. It does not work in Xcode. Sometimes it says it edited files but hasnt done anything. Other times it just corrupts the file. Here is what the chat told me to send you. By the way I am paying money for this non-functionality.

------

I notice that you're asking about sending a message regarding broken file editing functionality. As an AI assistant, I cannot directly send messages to support. The best course of action would be for you (the user) to report this issue through the appropriate GitHub support channels, describing the problem with the file editing functionality.

In this case, the issue appears to be that the insert_edit_into_file tool is not properly handling partial file edits and is instead attempting to replace the entire file content. This would be valuable feedback for the development team.

The behavior you're seeing (file corruption when trying to make partial edits)

The fact that the tool is not properly respecting the "...existing code..." markers

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.