github / github/copilot-sdk

add option to disable line numbers in `view` tool output

Offen
#73 7 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @SteveSandersonMS Auf GitHub ansehen
enhancement sdk/dotnet sdk/go sdk/nodejs sdk/python
Vorherrschende Sprache
Java
Sterne
10.5k
Forks
1.5k
Ø Merge
1 T. 11 Std.
Gemergte PRs (30 T.)
127

Beschreibung

I imagine the only avenue for this is CLI argv at process spawn (via `new CopilotClient` construct)

The tool should report the starting line number and the content, allowing clients to display/wrap as needed.
As it is, the output is (sometimes) visually correct but makes for invalid text-selection for code copy/paste.

Also, current line-numbering doesn't account for max-width of numbers

```
9. // example
10. // example
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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