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 摘要。