Skip to content

Entering HTML attributes inserts extra characters #7678

Open
@jtsom

Description

@jtsom

Type: Bug

In a Razor file, when trying to enter an HTML attribute into an HTML tag, such as <img>, an extra = sign is entered into the auto-entered quotes:

Before:
Image

attempting to enter an "id" attribute, just as I type id=, it will auto-complete like:

Image

Notice the '=' inside the quotes after id. This happens for ANY html attribute.

Also it will suggest incorrect and random items when entering text.

Extension version: 2.52.24
VS Code version: Code - Insiders 1.95.0-insider (75caed98f2ffb9e0657001af4cd0aee5bb938a84, 2024-10-21T07:16:48.019Z)
OS version: Darwin arm64 24.0.0
Modes:

System Info
Item Value
CPUs Apple M1 Max (10 x 2400)
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
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 2, 2, 3
Memory (System) 32.00GB (1.03GB free)
Process Argv --crash-reporter-id bb7f2b75-ded1-4f5d-aabc-c6cbc340bf08
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256197
vscod805:30301674
vsaa593:30376534
py29gd2263:31024238
c4g48928:30535728
2i9eh265:30646982
962ge761:30841072
pythongtdpath:30726887
pythonnoceb:30776497
asynctok:30898717
dsvsc014:30777825
dsvsc015:30821418
pythonmypyd1:30859725
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30870582
cppperfnew:30980852
pythonait:30973460
724cj586:31013169
dvdeprecation:31040973
dwnewjupytercf:31046870
2f103344:31071589
nb_pri_only:31057983
nativerepl1:31134653
refactort:31084545
pythonrstrctxt:31093868
wkspc-onlycs-t:31132770
nativeloc1:31118317
wkspc-ranged-t:31151552
cf971741:31144450
e80f6927:31120813
autoexpandse:31146404
12bdf347:31141542
iacca1:31150324
notype1:31143044
showbadge:31139796
f8igb616:31140137
dwcopilot:31158714
g7688163:31155431
iconenabled:31158249

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions