github / github/copilot-sdk

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

Aperta
#73 7 commenti 0 reazioni 1 assegnatario Rivendicata da @SteveSandersonMS Vedi su GitHub
enhancement sdk/dotnet sdk/go sdk/nodejs sdk/python
Lingua principale
Java
Stelle
10.5k
Fork
1.5k
Merge medio
1g 11h
PR unite (30g)
127

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.