microsoft / microsoft/vscode-pull-request-github

Selecting an already opened file in the Pull Request pane resets the scroll position

Đang mở
#8,206 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

feature-request
Ngôn ngữ chính
TypeScript
Star
2.6k
Fork
796
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
46

Mô tả

Type: Bug

Repro steps:

  1. Checkout a pull request branch
  2. Select a file in the files list in the Active Pull Request pane
  3. Scroll down a ways into the file. Double click on the tab bar to keep the file open
  4. Select a different file in the files list.
  5. 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

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Không có tệp nguồn hoặc bài kiểm thử nào được nêu tên. Hãy tái hiện vấn đề trong danh sách tệp của Pull Request, sau đó theo dõi cách việc chọn tệp mở hoặc sử dụng lại các tab Pull Request và giữ nguyên vị trí trong trình chỉnh sửa. Hoàn tất khi quay lại một tệp đã mở sẽ khôi phục vị trí cuộn mà tệp đó có trước khi chuyển đi.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
github, typescript, vscode
Lĩnh vực
devtools
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
42/100

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.