github / github/copilot-sdk

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

Đang mở
#73 7 bình luận 0 reaction 1 người được giao Được @SteveSandersonMS nhận Xem trên GitHub
enhancement sdk/dotnet sdk/go sdk/nodejs sdk/python
Ngôn ngữ chính
Java
Star
10.5k
Fork
1.5k
Merge trung bình
1 ngày 11 giờ
Pull request đã merge (30 ngày)
127

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.