Skip to content

Wrong result when paste string on specific pattern string  #150340

Closed
@scott20145

Description

@scott20145

Issue Type: Bug

target string:

`${ this._key }-edgeColor`

When I select "edgeColor" and try to paste anything
target string after paste:

`${ this._key

the expected result should be:

`${ this._key }-anything`

VS Code version: Code 1.67.1 (da15b6f, 2022-05-06T12:37:16.526Z)
OS version: Darwin x64 19.6.0
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i5-1030NG7 CPU @ 1.10GHz (8 x 1100)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 3, 3, 2
Memory (System) 8.00GB (0.09GB free)
Process Argv --crash-reporter-id 3a81b38f-58c9-4321-9a30-7b3a8e2ba491
Screen Reader no
VM 0%

Metadata

Metadata

Assignees

Labels

formattingSource formatter issuestypescriptTypescript support issuesupstream-issue-linkedThis is an upstream issue that has been reported upstream

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions