github / github/CopilotForXcode

Copilot didn't use selected lines in the context

Offen
#539 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Swift
Sterne
6.3k
Forks
2k
Ø Merge
2 Min.
Gemergte PRs (30 T.)
2

Beschreibung

**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**

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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