github / github/CopilotForXcode

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

Aberta
#326 7 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Swift
Estrelas
6.3k
Forks
2k
Merge médio
2min
PRs com merge (30d)
2

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.