microsoft / vscode

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

Copying of complete tags incorrect #228797

Closed LarsE67 closed 1 week ago

LarsE67 commented 1 week ago

Type: Bug

When pasting a previously copied (complete) tag with <xxx> and </xxx>, an additional closing tag is created directly after the opening tag.

Example before copying: <xxx> Content of the tag </xxx>

Example after pasting: <xxx></xxx> Copied content of the tag </xxx>

I think this problem has been occurring since the last update.

VS Code version: Code 1.93.1 (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z) OS version: Windows_NT x64 10.0.19045 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Xeon(R) CPU W3550 @ 3.07GHz (4 x 3067)| |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: unavailable_off
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: unavailable_off
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|undefined| |Memory (System)|11.98GB (5.78GB free)| |Process Argv|--crash-reporter-id cbce94ff-1f8f-4cf1-b1dc-88d58ab5c47c| |Screen Reader|no| |VM|0%|
Extensions (11) Extension|Author (truncated)|Version ---|---|--- vscode-html-css|ecm|2.0.10 prettier-vscode|esb|11.0.0 auto-rename-tag|for|0.1.10 fontawesome-autocomplete|Jan|1.3.2 vscode-duplicate|mrm|1.2.1 vscode-language-pack-de|MS-|1.93.2024091109 format-html-in-php|rif|1.7.0 code-spell-checker|str|3.0.1 code-spell-checker-german|str|2.3.2 open-in-browser|tec|2.0.0 html-css-class-completion|Zig|1.20.0
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805:30301674 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 pythonnoceb:30805159 asynctok:30898717 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 jg8ic977:31013176 a69g1124:31058053 dvdeprecation:31068756 dwnewjupyter:31046869 newcmakeconfigv2:31071590 impr_priority:31102340 nativerepl2:31139839 refactort:31108082 pythonrstrctxt:31112756 flightc:31134773 wkspc-onlycs-t:31132770 nativeloc1:31134641 wkspc-ranged-t:31125599 pme_test_t:31118333 fje88620:31121564 iacca1:31138162 ```
aeschli commented 1 week ago

duplicate of https://github.com/microsoft/vscode/issues/227859