github / github/CopilotForXcode

Copilot didn't use selected lines in the context

Aperta
#539 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Swift
Stelle
6.3k
Fork
2k
Merge medio
2m
PR unite (30g)
2

Descrizione

**Describe the bug**

When I select code lines in Xcode and ask Copilot to refactor to struct, Copilot replies "You requested to refactor a type to a struct. However, you did not specify which class, view, or model you want to refactor."

**Versions**
- Copilot for Xcode: 0.43.140
- Xcode: 26.0.1
- macOS: 26.0

**Steps to reproduce**
1.
2.

**Screenshots**

Image

Image

**Logs**

**Additional context**

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.