microsoft / vscode

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

copy without selection and paste right away in the same place don't create a new line #182321

Closed manupadillaph closed 1 year ago

manupadillaph commented 1 year ago

Type: Bug

Copy without selection with ctrl + c and paste right away where the cursor is, with ctro + v, in the same place, don't create a new line, it paste the complete line copied in the same place where the cursor is and it should crete a new line.

line 1 lin|e 2 <- cursor is there (|) and there are no selections, press ctrl + c line 3

Just right after I press ctrl + v to paste the new line. This is the result:

line 1 linline 2 | e 2 line 3

Expected:

line 1 line 2 line 2 line 3

This is workinf as expected in vcode, but not in vcode insiders Thanks

VS Code version: Code - Insiders 1.79.0-insider (2c73d2651cc525b27fc697b820743098a204ec01, 2023-05-04T22:11:08.187Z) OS version: Windows_NT x64 10.0.22624 Modes: Sandboxed: Yes Connection to 'wsl+ubuntu-nix' could not be established Connection to 'wsl+ubuntu-nix' could not be established Remote OS version: Linux x64 5.15.90.1-microsoft-standard-WSL2

System Info |Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i9-11900H @ 2.50GHz (16 x 2496)| |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)|63.73GB (13.06GB free)| |Process Argv|--file-uri vscode-remote://wsl%2Bubuntu-nix/home/manuelpadilla/source/reposUbuntu/MAYZ/mayz-plutus-v1.0/mayz-plutus.code-workspace --crash-reporter-id 5028a492-756f-4134-ab1f-f85e920e970c| |Screen Reader|no| |VM|0%| Connection to 'wsl+ubuntu-nix' could not be established Connection to 'wsl+ubuntu-nix' could not be established |Item|Value| |---|---| |Remote|WSL: Ubuntu-nix| |OS|Linux x64 5.15.90.1-microsoft-standard-WSL2| |CPUs|11th Gen Intel(R) Core(TM) i9-11900H @ 2.50GHz (16 x 2495)| |Memory (System)|49.02GB (38.17GB free)| |VM|0%|
Extensions (27) Extension|Author (truncated)|Version ---|---|--- Nix|bbe|1.0.1 remote-containers|ms-|0.293.0 remote-ssh|ms-|0.102.0 remote-ssh-edit|ms-|0.86.0 remote-wsl|ms-|0.78.4 vscode-remote-extensionpack|ms-|0.24.0 remote-explorer|ms-|0.4.0 remote-server|ms-|1.1.0 multi-command|ryu|1.6.0 open-in-browser|tec|2.0.0 dont-cut-empty|agg|0.0.1 nix-env-selector|arr|1.0.9 gitlens|eam|2023.5.1205 code-runner|for|0.12.0 copilot|Git|1.86.82 copilot-labs|Git|0.14.884 vscode-github-actions|git|0.25.7 haskell|has|2.2.4 haskell-linter|hoo|0.0.6 language-haskell|jus|3.6.0 vscode-language-babel|mgm|0.0.39 vscode-docker|ms-|1.25.0 multi-command|ryu|1.6.0 docker-dive|san|1.0.2 memento-inputs|spa|1.0.0 stylish-haskell|vig|0.0.10 haskell-spotlight|vis|0.0.3
A/B Experiments ``` vsliv695:30137379 vsins829:30139715 vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30256198 vslsvsres303:30308271 pythontb:30258533 pythonptprofiler:30281269 vshan820:30294714 pythondataviewer:30285072 vscod805cf:30301675 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593:30376534 pythonvs932:30404738 cppdebug:30492333 vsclangdf:30492506 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30618038 pylantcb52:30590116 pyind779:30611226 pythonsymbol12:30651887 showlangstatbar:30737417 azdwalk:30721579 pythonms35:30671666 cai9j608:30680470 ecj1e332:30687743 pythonfmttext:30716741 pythoncmvfstr:30726892 fixshowwlkth:30724385 hidesbindicator:30724476 pythongtdpath:30726887 ```
mjbvz commented 1 year ago

Duplicate of #182320