github / github/CopilotForXcode

Swift Code Completion does not include a closing brace

Aperta
#265 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Swift
Stelle
6.3k
Fork
2k
Merge medio
2m
PR unite (30g)
2

Descrizione

**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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.