-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
🐛 BUG: Astro emmet completions broken with 2.12.8 update, does not offer correct auto complete #921
Comments
Could you share a full file where this happens? 2.12.8 reverted Emmet completions to the previous state completely, so there might be something else going on. Everything seems to work for me, fwiw. |
Hello @davidjost. Please provide a minimal reproduction using a GitHub repository or at least sharing the file where the issue happen. Issues marked with |
It definitely is file related, I can't share this file specifically. I have tracked the issue in a test file with 8 imports, 170 lines of html, css:gobal, css and empty script tag, see gif. Emmet shows in the global css scope and does not in the local scope. I can't reproduce the behavior in a new file with the same structure, it works as it should with emmet offered in both scopes. |
I have tracked the issue to an emoji used in a <style is:global>
.logo:hover {
cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='48' viewport='0 0 100 100' style='fill:black;font-size:2em;'><text y='70%'>😎</text></svg>") 16 0, auto;
filter: brightness(220%) saturate(200%) drop-shadow(0px 0px 2px teal) drop-shadow(var(--value) var(--value) 0 oklch(var(--color-accent-20))) drop-shadow(var(--calc) var(--calc) 0 oklch(var(--color-accent-30)));
}
</style> Removing the emoji solves the issue. |
Aah, thank you! I know exactly what the problem is now. Will start working on a fix, apologies for the inconvenience! |
Describe the Bug
I was writing CSS in astro when the VScode extension update showed, updated it, immediately after the auto completions were broken.
Expected behavior
Typing
ttu
offers and autocompletes to:text-transform: uppercase;
Current behavior in v2.12.8
Typing
ttu
offerstext-underline-offset
and autocompletes tottext-underline-offset: ;
(including extrat
)This goes for all CSS suggestions. HTML emmet seems to be working fine so far.
The text was updated successfully, but these errors were encountered: