Skip to content

Copilot didn't use selected lines in the context #539

@owenzhao

Description

@owenzhao

Describe the bug

When I select code lines in Xcode and ask Copilot to refactor to struct, Copilot replies "You requested to refactor a type to a struct. However, you did not specify which class, view, or model you want to refactor."

Versions

  • Copilot for Xcode: 0.43.140
  • Xcode: 26.0.1
  • macOS: 26.0

Steps to reproduce
1.
2.

Screenshots

Image Image

Logs

Additional context

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