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 摘要。