Skip to content

Class completion destroys trailing markup #278

Open
@AnrDaemon

Description

@AnrDaemon

Type: Bug

Completing classes from Bootstrap will remove following markup. An example:

<div class="col-a|"><a href=""></a></div>

->

<div class="col-auto href=""></a></div>

There's clearly a race involved, because if you wait for dropdown to appear, completely form and only then pick your choice, there's a chance it won't destroy markup, but the more class names are already in the attribute, the less are the chances it will not break.

Extension version: 2.0.6
VS Code version: Code 1.85.1 (0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2, 2023-12-13T09:49:37.021Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i3-8145U CPU @ 2.10GHz (4 x 2304)
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 7.86GB (0.64GB free)
Process Argv --folder-uri file:///d%3A/Profiles/user/Documents/project
Screen Reader no
VM 0%

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions