microsoft / microsoft/vscode-pull-request-github
Selecting an already opened file in the Pull Request pane resets the scroll position
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.6k
- 派生
- 796
- 平均合并
- 1 天 4 小时
- 30 天内合并 PR
- 46
描述
Type: Bug
Repro steps:
- Checkout a pull request branch
- Select a file in the files list in the Active Pull Request pane
- Scroll down a ways into the file. Double click on the tab bar to keep the file open
- Select a different file in the files list.
- Select the original file again in the files list.
Expected behavior: The (Pull Request) tab which I had open already for this file is shown at the scroll position I previously left it at.
Actual behavior: The scroll position is reset every time I navigate to it using the Pull Request files list, requiring me to dig back through to find where I was.
Extension version: 0.118.2
VS Code version: Code 1.106.3 (bf9252a2fb45be6893dd8870c0bf37e2e1766d61, 2025-11-25T22:28:18.024Z)
OS version: Windows_NT x64 10.0.26100
Modes:
System Info
| Item | Value |
|---|---|
| CPUs | AMD Ryzen 9 3900X 12-Core Processor (24 x 3793) |
| GPU Status | 2d_canvas: enabled direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off trees_in_viz: disabled_off video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 63.94GB (28.71GB free) |
| Process Argv | . --log ms-dotnettools.csharp=debug --crash-reporter-id 59b388b8-1284-4d45-bdde-2e7f866e4f97 |
| Screen Reader | no |
| VM | 50% |
A/B Experiments
vsliv368:30146709
vswsl492cf:30256860
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
bajee813:31263137
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31334701
aj953862:31281341
b6b4d950:31327385
nes-set-on:31340697
6abeh943:31336334
cloudbuttont:31379625
todos-1:31405332
v66_all_req:31402695
3efgi100_wstrepl:31403338
trigger-command-fix:31379601
auto_model_enabled:31396818
use-responses-api:31390855
anonusage:31403420
je187915:31401257
3i15c187:31419927
ec5jj548:31422691
rai-control:31422799
copilot-nes-oct-t:31418199
metis_rerank_treatment1:31422731
cmp-ext-treat:31426748
cp_cls_c_966_ss:31426491
defaultvisibility:31426295
expandedtokens:31427242
c0683394:31419495
8ddb8369:31423616
478ah919:31426797
2bd77578_control:31426889
fa76a614:31426880
5j92g670_sonnet:31426790
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
未指定源文件或测试。请在 Pull Request 文件列表中重现该问题,然后跟踪选择文件时如何打开或复用 Pull Request 标签页,以及如何保留编辑器位置。完成标准是:返回到已经打开的文件时,能够恢复它在离开前所处的滚动位置。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- github, typescript, vscode
- 领域
- devtools
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100