microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.38k stars 28.94k forks source link

Sticky scroll not updated when renaming element using F2 #210392

Closed grxnd3r closed 5 months ago

grxnd3r commented 6 months ago

Type: Bug

When renaming a called function using F2 (using the small input window triggered by the F2) the stickyscroll isn't directly updated with the new name of the function. We have to scroll to the definition of the function to update it. (Language used is PHP)

VS Code version: Code 1.88.1 (e170252f762678dec6ca2cc69aba1570769a5d39, 2024-04-10T17:41:02.734Z) OS version: Windows_NT x64 10.0.22631 Modes:

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 7 5800H with Radeon Graphics (16 x 3194)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|15.41GB (4.79GB free)| |Process Argv|. --crash-reporter-id 5970dd4d-324d-445e-85a0-93b7ea5cfd3e| |Screen Reader|no| |VM|0%|
Extensions (53) Extension|Author (truncated)|Version ---|---|--- bootstrap5-vscode|Anb|0.4.4 vscode-intelephense-client|bme|1.10.4 vscode-tailwindcss|bra|0.10.5 vscode-eslint|dba|2.4.4 composer-php-vscode|DEV|1.45.15272 intelli-php-vscode|DEV|0.12.15062 phptools-vscode|DEV|1.45.15272 profiler-php-vscode|DEV|1.45.15272 gitlens|eam|14.9.0 vscode-html-css|ecm|2.0.9 prettier-vscode|esb|10.4.0 auto-close-tag|for|0.5.15 copilot|Git|1.180.821 copilot-chat|Git|0.14.1 vscode-htmlhint|HTM|1.0.5 discord-vscode|icr|5.8.0 vscode-edit-csv|jan|0.9.1 subway-surfers|jir|2.0.0 vscode-gutter-preview|kis|0.30.0 rainbow-csv|mec|3.11.0 dotenv|mik|1.0.1 theme-monokai-pro-vscode|mon|1.2.2 debugpy|ms-|2024.4.0 isort|ms-|2023.10.1 python|ms-|2024.4.1 vscode-pylance|ms-|2024.4.1 jupyter|ms-|2024.3.1 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.17 vscode-jupyter-cell-tags|ms-|0.1.9 vscode-jupyter-slideshow|ms-|0.1.6 remote-ssh|ms-|0.110.1 cmake-tools|ms-|1.17.17 cpptools|ms-|1.19.9 cpptools-extension-pack|ms-|1.3.0 remote-explorer|ms-|0.4.3 sqltools|mtx|0.28.2 indent-rainbow|ode|8.3.1 minesweeper|Rwi|0.0.5 fpack|Sey|2.3.0 svg-preview|Sim|2.8.3 prettier-plus|svi|4.2.2 pdf|tom|1.2.2 cmake|twx|0.0.17 vscode-icons|vsc|12.7.0 JavaScriptSnippets|xab|1.8.0 php-debug|xde|1.34.0 php-pack|xde|1.0.3 five-server|yan|0.3.1 pretty-ts-errors|Yoa|0.5.4 markdown-pdf|yza|1.5.0 html-css-class-completion|Zig|1.20.0 php-intellisense|zob|1.3.3 (6 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805:30301674 binariesv615:30325510 vsaa593:30376534 py29gd2263:30899288 c4g48928:30535728 azure-dev_surveyone:30548225 2i9eh265:30646982 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 h48ei257:31000450 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 d34g3935:30971562 fegfb526:30981948 bg6jg535:30979843 ccp1r6:30993540 dsvsc020:30976470 pythonait:31006305 gee8j676:31009558 dsvsc021:30996838 gd77d436:30999572 01bff139:31013167 ```
aiday-mar commented 6 months ago

Hi, thank you for posting this issue. Could you please include a screen recording of this issue? We have several instances of sticky scroll throughout the editor.

vscodenpa commented 5 months ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!