microsoft / vscode

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

Copy line problema #201929

Open ProtocolLive opened 9 months ago

ProtocolLive commented 9 months ago

Type: Bug

When copy without any selection, and paste, the vscode dont add new line like before

VS Code version: Code - Insiders 1.86.0-insider (1cfc62d46e6b9dd217cd485d7d4591136f421d70, 2024-01-05T16:21:29.391Z) OS version: Windows_NT x64 10.0.26020 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz (8 x 2112)| |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)|11.83GB (4.33GB free)| |Process Argv|--crash-reporter-id 0cbc0209-e0e1-4885-8ed3-d586cc39c6e1| |Screen Reader|no| |VM|0%|
Extensions (19) Extension|Author (truncated)|Version ---|---|--- Bookmarks|ale|13.4.2 vscode-intelephense-client|bme|1.10.2 codeium|Cod|1.6.18 dbclient-jdbc|cwe|1.3.4 phptools-vscode|DEV|1.42.14672 profiler-php-vscode|DEV|1.42.14672 gitlens|eam|14.6.1 vscode-github-actions|git|0.26.2 minifyall|jos|2.10.0 vscode-gutter-preview|kis|0.30.0 remote-server|ms-|1.5.0 sftp|Nat|1.16.3 gremlins|nho|0.26.0 code-spell-checker|str|3.0.1 code-spell-checker-portuguese-brazilian|str|2.2.1 tabnine-vscode|Tab|3.56.2010 vscode-input-sequence|tom|0.2.0 change-case|wma|1.0.0 php-debug|xde|1.34.0 (1 theme extensions excluded)
A/B Experiments ``` vsliv695:30137379 vsins829:30139715 vsliv368:30146709 vsreu685:30147344 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vshan820:30294714 vscod805:30301674 bridge0708:30335490 bridge0723:30353136 vsaa593cf:30376535 py29gd2263:30784851 vsclangdf:30492506 c4g48928:30535728 a9j8j154:30646983 pythongtdpath:30726887 i26e3531:30792625 welcomedialog:30812478 pythonidxpt:30768918 pythonnoceb:30776497 asynctok:30898717 dsvsc013:30777762 dsvsc014:30777825 dsvsc015:30821418 pythontestfixt:30866404 pythonregdiag2:30926734 pyreplss1:30879911 pythonmypyd1:30859725 pythoncet0:30859736 pythontbext0:30879054 accentitlementst:30870582 dsvsc016:30879898 dsvsc017:30880771 dsvsc018:30880772 aa_t_chat:30882232 cp7184t3:30927821 ```
icocar-nts commented 9 months ago

I'm also seeing this same issue this version.

Expected behavior: copying and pasting without selection pastes the copied line on a new line. Actual bevavior:

This works on version 1.85.1

boris-garvis commented 2 months ago

I am facing a similar issue on Chromebook - when line is copied without selection expected behavior is it is pasted in new line above cursor but instead it inserts line in position of cursor.

Screen recording 2024-08-21 00 33 24

VS Code version: Code 1.92.2 (fee1edb8d6d72a0ddff41e5f71a671c23ed924b9, 2024-08-14T17:29:30.058Z) OS version: Linux arm64 6.6.30-02726-gb84bbdf6955e Modes:

System Info |Item|Value| |---|---| |CPUs|unknown (8 x 0)| |GPU Status|2d_canvas: unavailable_software
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
webgpu: disabled_off
webnn: disabled_off| |Load (avg)|8, 2, 1| |Memory (System)|6.48GB (5.34GB free)| |Process Argv|--crash-reporter-id f3c33404-4b44-4df6-9b27-dbb3a2c5df44| |Screen Reader|no| |VM|100%| |DESKTOP_SESSION|undefined| |XDG_CURRENT_DESKTOP|X-Generic| |XDG_SESSION_DESKTOP|undefined| |XDG_SESSION_TYPE|wayland|