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

Offen
#326 7 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
macos, swift
Bereich
desktop, tooling

Rechercherichtung

Reproduziere das Problem in Copilot for Xcode 0.36.0 mit Xcode 16.3 auf macOS 15.5, indem du Copilot Chat öffnest und „Add Context...“ auswählst. Verfolge den Dateiauswahlablauf von Add Context und vergleiche die Ergebnisse mit den zwei geöffneten Projekten; abgeschlossen ist die Aufgabe, wenn die Liste ohne einen langen System-Hänger geladen wird und auf Workspace-Dateien beschränkt ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Swift
Sterne
6.3k
Forks
2k
Ø Merge
3 T. 21 Std.
Gemergte PRs (30 T.)
2

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus github/CopilotForXcode

Alle Issues in github/CopilotForXcode

Ähnliche Issues

Weitere Issues zu Swift

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.