-
-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Class completion destroys trailing markup #278
Comments
Hello, is this snippet in .html file? Can you share the whole file? I could not reproduce using the snippet. |
I'll try to produce a complete repo example once I get a lil' of free time. |
Extension version: 2.0.7 System Info
2024-01-27_22-01-05.mp4 |
I noticed
in your settings.json. Can you try again but deleting that line in the settings? And please use the latest version of the extension. |
It happens more frequently when I start vs code. Happens without this extension as well. Upstream issue microsoft/vscode#198793 Screen.Recording.2024-01-28.at.15.08.53.mov |
I've installed it right before testing. Though it was latest. Thanks for pointer, I was unable to reproduce it without extensions. |
The difference between this and default setting is absence of "$". When working with PHP, "$" is part of a word. So the setting. |
Steps to Reproduce: When you have a In my case, the problem always occurs when using the "HTML CSS Support" extension.
|
Some extensions just make the race more apparent. The issue is reproducible with stock VS Code without any extra extensions. Although not as easily. |
happens to me in tsx. does not happen if extension is disabled. any possible fix or workaround? Screen.Recording.2024-09-04.at.7.01.53.PM.mov |
@AnrDaemon it seems to be an issue for me with "editor.quickSuggestions": { "strings" : "on" }, removing string solved the issue. can you confirm if it fixes it for you too?
|
@da1z it is turned off, but the setting itself shows that it's "modified elsewhere". Probably by extension. Will add to main ticket. |
Type: Bug
Completing classes from Bootstrap will remove following markup. An example:
->
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
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
The text was updated successfully, but these errors were encountered: