github / github/CopilotForXcode

Corrupt files being generated constantly

未关闭
#309 19 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Swift
星标
6.3k
派生
2k
平均合并
2 分钟
30 天内合并 PR
2

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。