microsoft / vscode

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

Multiple Cursors then navigate next word (ctrl+cursor right) breaks cursors #183238

Closed brianjaikens closed 5 months ago

brianjaikens commented 1 year ago

Type: Bug

Can no longer navigate by word when using multiple cursors.

Steps to Reproduce:

  1. Select multiple cursors on a row of lines. Such as the beggining of the line.
  2. Navigate to the next word on each line by holding ctrl and hitting cursor right.
  3. All multiple cursors are removed and the one cursor moves to the next word of the original line.

VS Code version: Code 1.78.2 (b3e4e68a0bc097f0ae7907b217c1119af9e03435, 2023-05-10T14:39:26.248Z) OS version: Windows_NT x64 10.0.19045 Modes: Sandboxed: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz (8 x 3392)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|31.80GB (17.00GB free)| |Process Argv|--crash-reporter-id f5a5e3ee-b706-40ab-bc62-fafbd615c25d --crash-reporter-id f5a5e3ee-b706-40ab-bc62-fafbd615c25d --crash-reporter-id f5a5e3ee-b706-40ab-bc62-fafbd615c25d --crash-reporter-id f5a5e3ee-b706-40ab-bc62-fafbd615c25d --crash-reporter-id f5a5e3ee-b706-40ab-bc62-fafbd615c25d| |Screen Reader|yes| |VM|0%|
Extensions (59) Extension|Author (truncated)|Version ---|---|--- Bookmarks|ale|13.3.1 project-manager|ale|12.7.0 vscode-sqlite|ale|0.14.1 bootstrap5-vscode|Anb|0.4.2 markdown-extension-pack|bat|0.7.0 emojisense|bie|0.9.1 markdown-checkbox|bie|0.4.0 markdown-emoji|bie|0.3.0 markdown-mermaid|bie|1.18.1 markdown-preview-github-styles|bie|2.0.2 vscode-pandoc|Chr|0.4.2 npm-intellisense|chr|1.4.4 gitignore|cod|0.9.0 csharpier-vscode|csh|1.3.6 excel-to-markdown-table|csh|1.3.0 markdown-table-prettify|dar|3.6.0 vscode-markdownlint|Dav|0.50.0 vscode-eslint|dba|2.4.0 git-extension-pack|don|0.1.3 githistory|don|0.6.20 jquerysnippets|don|0.0.1 xml|Dot|2.5.1 gitlens|eam|13.6.0 vscode-html-css|ecm|1.13.1 vscode-firefox-debug|fir|2.9.8 auto-rename-tag|for|0.1.10 mdmath|goe|2.7.4 gc-excelviewer|Gra|4.2.57 path-autocomplete|ion|1.23.1 batch-rename-extension|Jan|0.0.6 minifyall|jos|2.10.0 classic-asp-html|jtj|0.1.3 vscode-dbml|mat|0.3.5 markdown-shortcuts|mdi|0.12.0 git-graph|mhu|1.30.0 vscode-azureresourcegroups|ms-|0.7.5 csharp|ms-|1.25.7 data-workspace-vscode|ms-|0.4.0 mssql|ms-|1.18.0 sql-bindings-vscode|ms-|0.4.0 azure-account|ms-|0.11.5 cpptools|ms-|1.15.4 hexeditor|ms-|1.9.11 live-server|ms-|0.4.8 vsliveshare|ms-|1.0.5864 cordova-tools|msj|2.6.3 nojquery-snippets|Nkz|0.1.3 material-icon-theme|PKi|4.27.0 material-product-icons|PKi|1.5.0 markdown-preview-enhanced|shd|0.6.8 open-in-browser|tec|2.0.0 vscode-markdown-paste-image|tel|1.0.0 intellicode-api-usage-examples|Vis|0.2.7 vscodeintellicode|Vis|1.2.30 vscode-gradle|vsc|3.12.7 change-case|wma|1.0.0 markdown-pdf|yza|1.4.4 markdown-all-in-one|yzh|3.5.1 vscode-open-in-github|ziy|1.3.6
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263cf:30335440 vscorecescf:30445987 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593cf:30376535 pythonvs932:30410667 cppdebug:30492333 vsclangdc:30486549 c4g48928:30535728 dsvsc012:30540252 pynewext54:30695312 azure-dev_surveyone:30548225 3biah626:30602489 pyind779:30671433 89544117:30613380 pythonsymbol12:30671437 2i9eh265:30646982 showlangstatbar:30737416 vsctsb:30748421 pythonms35:30701012 57b77579:30736110 pythonfmttext:30731395 pythoncmv:30739700 fixshowwlkth:30730052 showsbindicator:30730056 pythongtdpathcf:30739705 ```
tustin2121 commented 8 months ago

Having the same issue. Rather annoying.

Version: 1.86.1 (user setup) Commit: 31c37ee8f63491495ac49e43b8544550fbae4533 Date: 2024-02-07T09:08:20.941Z Electron: 27.2.3 ElectronBuildId: 26495564 Chromium: 118.0.5993.159 Node.js: 18.17.1 V8: 11.8.172.18-electron.0 OS: Windows_NT x64 10.0.19043

alexdima commented 5 months ago

Does this reproduce when disabling all extensions? Press F1 and then choose Developer: Reload Window with Extensions Disabled

Kapture 2020-07-20 at 15 28 23

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!