-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
Emmet bug: fsz12 matches with font-style instead of font-size #59951
Comments
The emmet abbreviation for |
hi @blunket it works as you mentioned. But I've been using emmet for a long time and I'm familiar with the I think I should fix this issue :) |
The issue that Emmet tries fuzzy matching to match whatever you have typed with the closest match. The emmet module we use for this fuzzy matching is https://github.com/emmetio/css-snippets-resolver @muratdogan17 If you are interested in fixing this issue, then start with https://github.com/emmetio/css-snippets-resolver. Add a test case for the |
Hi @ramya-rao-a I'll take a look at this and try to fix it. Thanks for your detailed introductions. |
@muratdogan17 FYI @irrationalRock has started looking into this as well. |
I submitted a PR to fix this issue. |
Closing since issue fixed now on 1.49.3 |
Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes
I'm using built-in emmet function while writing scss. When I start to type fsz in an scss file the tooltip show it stands for font-size :
But If I continue to writing with a value like fsz12 it shows font-style:12px anymore.
It makes declaring font size even harder. I think this is an issue and if you think so I'll fix this issue and send a PR
The text was updated successfully, but these errors were encountered: