github / github/CopilotForXcode

Swift Code Completion does not include a closing brace

Offen
#265 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Swift
Sterne
6.3k
Forks
2k
Ø Merge
2 Min.
Gemergte PRs (30 T.)
2

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.