Skip to content

Copilot hangs and offers to add all files on my computer in Add Context #326

Open
@apexskier

Description

@apexskier

Describe the bug
GitHub Copilot for xcode appears to be searching my entire computer when I try to add additional files as context, instead of the workspace, which I'd expect. This causes a massive hang and makes the entire system unresponsive for a second or two, then the copilot window for an additional more than 10 seconds.

Versions

  • Copilot for Xcode: 0.36.0
  • Xcode: 16.3 (16E140)
  • macOS: 15.5 (24F74)

Steps to reproduce

  1. Open Copilot Chat Window
  2. Press "Add Context..." button

There's a huge hang, then the dropdown seems like it contains all files on my computer instead of just those in the workspace.

Screenshots

Image

Logs
None outputted when doing this

Additional context
I have two xcode projects open, both in ~/Developer/{projectname}.

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