github / github/CopilotForXcode

Copilot didn't use selected lines in the context

未關閉
#539 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Swift
星號
6.3k
分支
2k
平均合併
2 分鐘
30 天內合併 PR
2

描述

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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。