microsoft / microsoft/vscode-pull-request-github
Comments attached to wrong lines
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.6k
- 派生
- 796
- 平均合并
- 1 天 4 小时
- 30 天内合并 PR
- 46
描述
- Extension version: 0.124.1
- VSCode Version: 1.107.1
- OS: Fedora 42
- Repository Clone Configuration (single repository/fork of an upstream repository): fork of an upstream repo
- GitHub Product (GitHub.com/GitHub Enterprise version x.x.x): GitHub.com
See here for the affected PR and the comment: https://github.com/scylladb/scylladb/pull/27386/files#r2643211612
When viewing with a browser, the comment is in the right place, right where there are 7 lines removed and the one below:
for shard in iterate_over_describe_stream(dynamodbstreams, arn, time.time() + 60):
is added instead.
In VS Code the comment is shown associated to the wrong lines - to the new lines starting from 1409, not the old lines starting from 1409.
Steps to Reproduce:
- Install the "GitHub Pull Requests" extension to VS Code.
- View the affected PR in VS Code.
- Search for a string from the comment to see it in VS Code
The right placement when viewed with Chromium:
The wrong placement when viewed in VS Code:
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
在 VS Code 中打开 PR #27386 并搜索评论文本,以复现 GitHub Pull Requests 扩展中的评论位置错误。将扩展中的位置与 Chromium 视图进行比较,并在评论附加到被移除的行而不是从 1409 开始的新行时,将 issue 视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript
- 领域
- devtools
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100