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 摘要。