github / github/CopilotForXcode

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

Ouverte
#326 7 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Swift
Étoiles
6.3k
Forks
2k
Merge moyen
2 min
PR mergées (30 j)
2

Description

**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](https://github.com/user-attachments/assets/d168623d-16eb-4a48-808c-a737a2263635)

**Logs**
None outputted when doing this

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.