-
Notifications
You must be signed in to change notification settings - Fork 30.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 Abbreviations in Css with - doesn't trigger Emmet suggestions #33898
Comments
@ramya-rao-a, hello! How about this... you write but then you write there is even no letter |
@ramya-rao-a - interesting workaround. Thanks. In reality, I'd probably just not use shorthand until there is a solution for this. Some more examples.
And so on... |
vscode: 1.17.0-ins lh16 = |
@user3323 Emmet always try to fuzzy match very eagerly. Try it. Type VS Code then applies its own filtering to the suggestions from Emmet which filters out this suggestion because like you said there is no
So basically, we try to add a check point to Emmet suggestions and show them
As for line-height, that is by design. line-height is one of those css properties that take just a number without units and that is what Emmet does here. You can add a unit alias for
|
@LukeMcGurdy The Css examples in the cheatsheet that use Emmet suggestions in Css are sorted among other css suggestions. That's the reason for the examples you mentioned where they weren't at the top. One way to solve this is to set have the below settings. This way Emmet suggestions are always assured to be on the top
|
Thanks, @ramya-rao-a. I just noticed these in the latest release. Smashing job VS Code people. |
Thanks @LukeMcGurdy ! |
The fix will be out in tonight's Insiders |
Note to verifier
|
Hey @mjbvz @ramya-rao-a, I've been doing some testing on this issue. It seems as if it's not resolve entirely. For example, trying Have I been using Emmet the wrong way? Or is this an issue? |
@BeauAgst nice catch. I've added a fix. |
From @LukeMcGurdy in #33764 (comment)
Emmet: Expand Abbreviation
afterp10-20
padding: 10px 20px;
The text was updated successfully, but these errors were encountered: