github / github/copilot-sdk

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

未关闭
#73 7 条评论 0 个 reaction 已指派 1 人 已被 @SteveSandersonMS 认领 在 GitHub 查看
enhancement sdk/dotnet sdk/go sdk/nodejs sdk/python
主要语言
Java
星标
10.5k
派生
1.5k
平均合并
1 天 11 小时
30 天内合并 PR
127

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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