Pasting deletes text #155660
Labels
*duplicate
Issue identified as a duplicate of another issue(s)
formatting
Source formatter issues
typescript
Typescript support issues
upstream-issue-fixed
The underlying upstream issue has been fixed
Issue Type: Bug
Prerequisites: Enable format on paste and on type for JavaScript files.
match(/x/);
The entire regular expression now disappears. Also happens with much longer lines and regexps. A similar issue also exists in JavaScript sections of .cshtml files in Visual Studio 2022, where pasting also deletes parts of the code. Is there a pattern behind that? Microsoft products now eating my code. All of them!
VS Code version: Code 1.69.2 (3b889b0, 2022-07-18T16:12:52.460Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No
System Info
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
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (22)
A/B Experiments
The text was updated successfully, but these errors were encountered: