Copilot doesn't work well after manually edit code.
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 38/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- swift
- Bereich
- developer-experience, tooling
Rechercherichtung
Die Sequenz in Xcode 26.0.1 mit Copilot for Xcode 0.43.140 reproduzieren: eine Änderung anfordern, manuell bearbeiten und dann eine weitere Änderung anfordern oder einen neuen Tab öffnen. Die relevanten Logs unter ~/Library/Logs/GitHubCopilot/ untersuchen; als erledigt gilt es, wenn nachfolgende Anfragen die manuelle Bearbeitung beibehalten, ohne dass ein Neustart erforderlich ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Describe the bug
Copilot always revert my edited code to previous code.
Versions
- Copilot for Xcode: 0.43.140
- Xcode: 26.0.1
- macOS: 26.0.1
Steps to reproduce
- Ask Copilot to change some code.
- Manually change some code.
- Ask Copilot to change some other code.
Copilot will do the task I ask, but always revert what I changed. Create new tab will be the same. Only quit and reopen will work.
It reason is because copilot always read it cache instead of the file in Xcode. Copilot knows it and it doesn't follow my instruction to read from Xcode. It answers but still using the cache.
Screenshots
Logs
Additional context
- Vorherrschende Sprache
- Swift
- Sterne
- 6.3k
- Forks
- 2k
- Ø Merge
- 3 T. 21 Std.
- Gemergte PRs (30 T.)
- 2
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus github/CopilotForXcode
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
github/CopilotForXcode#181 · 2 Reaktionen ·
-
Add ability to attach Copilot window only to Xcode projects/workspaces, ignoring standalone files Offen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 68/100
github/CopilotForXcode#945 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 35/100
github/CopilotForXcode#943 ·
-
Luisgerardomartinezlara Offen
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 10/100
github/CopilotForXcode#936 · 2 Kommentare ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 10/100
github/CopilotForXcode#934 ·