github / github/copilot-cli

[Question]Does anyone need the `Source References` feature?

未关闭
#927 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:terminal-rendering
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Question

Please forgive me if I use the wrong terminology.

Now I will write the following in the prompt:

```
If you mention any modifications to the program, you need to include the source code location in the format `{file_path}:{line_no}:{column_no}`.

For example:

1. Created source code file in {.\source.code}

2. The validation logic is in {.\source.code:1:2}

3. The calculation logic is in {.\source.code:3:4}

...
```

Copilot-CLI will reply as shown in the image below. I can click the hyperlink to view the affected part of the source code file.
Image

I'm wondering how many people need this feature? Or could it be a built-in feature of Copilot-CLI? Or does it already exist?

(I am a beginner in Copilot-CLI and am still exploring. I may demonstrate and share with other members.)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。