github / github/copilot-cli

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

Offen
#927 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:terminal-rendering
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

### 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.)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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