github / github/CopilotForXcode

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

未关闭
#326 7 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Swift
星标
6.3k
派生
2k
平均合并
2 分钟
30 天内合并 PR
2

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。