github / github/CopilotForXcode

Swift Code Completion does not include a closing brace

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

描述

**Describe the bug**
If you let copilot generate a function, as it generates suggestions, when it is done, it never inserts the closing brace '}' so the end result is always a compilation error.

**Versions**
- Copilot for Xcode: 0.34
- Xcode: 16.3
- macOS: 15.4.1

**Steps to reproduce**
1. create a new project or open existing one
2. type func and let copilot start generating code. It will never include the closing } causing the compiler to complain.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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