Skip to content

Post Paste Format Deletes Code  #149581

@MattGrdinic

Description

@MattGrdinic

Issue Type: Bug

Working with this code:

$('d-microsoft-onedriveclient-id').show().down('INPUT').value = f.aws_s3_iam_access_key;

I have this in my clipboard:

microsoft-onedrive

If I select the microsoft in the code above and patse, the end result is:

$().show().down('INPUT').value = f.aws_s3_iam_access_key;

Note: Disabling the Format On Paste option resolves the issue.

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) i7-10700 CPU @ 2.90GHz (16 x 2900)
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) 2, 2, 1
Memory (System) 32.00GB (1.51GB free)
Process Argv --crash-reporter-id 003c8b33-7671-417a-832e-8c09d7f0354c
Screen Reader no
VM 0%
Extensions (5)
Extension Author (truncated) Version
Bookmarks ale 13.3.0
vscode-intelephense-client bme 1.8.2
xml Dot 2.5.1
vscode-great-icons emm 2.1.86
php-debug xde 1.26.1

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
pythonvspyl392:30443607
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
pythonvsnew555:30457759
vscscmwlcmt:30465135
cppdebugcf:30475217
vsclangdc:30486549

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions