github / github/CopilotForXcode

Output code breaks

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

Description

**Describe the bug**

I have a swift file. The total lines are 632, but Claude Sonnet 4 can't output the whole file in one output. I have to ask it to separate output into multiple parts.

I believe Claude Sonnet 4 should output more than that. I want to know if this is a internal limitation of Copilot.

**Versions**
- Copilot for Xcode: 0.38.0
- Xcode: 16.4 (16F6)
- macOS: 15.6 Beta(24G5065c)

**Steps to reproduce**
1. Find a swift file with 600 to 700 lines.
2. Revise some parts and let AI to output the whole file.

**Screenshots**

Image

Breaks at line 564.

**Logs**

**Additional context**

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.