Skip to content

Swift Code Completion does not include a closing brace #265

Open
@arthrex-rfazio

Description

@arthrex-rfazio

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions