microsoft / vscode

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

Copies wrong section #227811

Closed SergioDep closed 1 month ago

SergioDep commented 1 month ago

Type: Bug

select a block of code in javascript containing curly brackets, it copies the wrong section, happened after last update

VS Code version: Code - Insiders 1.94.0-insider (4c94dbdf0c1ce60b7c63ad74dc8e6740b0f2de04, 2024-09-05T05:04:18.971Z) OS version: Darwin arm64 23.5.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M1 (8 x 2400)| |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
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|2, 2, 2| |Memory (System)|8.00GB (0.06GB free)| |Process Argv|--crash-reporter-id 812453b1-d104-4ff6-993d-cd57a130d8f0| |Screen Reader|no| |VM|0%|
Extensions (12) Extension|Author (truncated)|Version ---|---|--- calculate|aca|2.1.0 path-intellisense|chr|2.9.0 prettier-vscode|esb|11.0.0 copilot|Git|1.229.0 copilot-chat|Git|0.21.2024090602 vscode-random|jre|1.12.0 debugpy|ms-|2024.11.2024082901 python|ms-|2024.15.2024090406 vscode-pylance|ms-|2024.8.104 postman-for-vscode|Pos|1.2.1 filename-case|Ser|0.0.3 vscode-icons|vsc|12.8.0
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 vsaa593:30376534 py29gd2263:31024238 c4g48928:30535728 962ge761:30841072 pythongtdpath:30726887 welcomedialog:30812478 pythonnoceb:30776497 asynctok:30898717 dsvsc014:30777825 dsvsc015:30821418 pythonregdiag2:30926734 pythonmypyd1:30859725 2e7ec940:31000449 pythontbext0:30879054 accentitlementst:30870582 dsvsc016:30879898 dsvsc017:30880771 dsvsc018:30880772 cppperfnew:30980852 pythonait:30973460 724cj586:31013169 a69g1124:31018687 dvdeprecation:31040973 dwnewjupyter:31046869 newcmakeconfigv2:31071590 nb_pkg_only:31057982 nativerepl1:31104042 refactort:31084545 pythonrstrctxt:31093868 flighttreat:31119334 wkspc-onlycs-c:31111717 nativeloc1:31118317 wkspc-ranged-c:31125598 3ad50483:31111987 jh802675:31132134 e80f6927:31120813 pme_test_t:31118333 ei213698:31121563 ```
mjbvz commented 1 month ago

Duplicate of #227721