-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Support for choices in Emmet snippets #33994
Comments
The syntax for choices in snippets as supported by VS Code and as used by Emmet (https://github.com/emmetio/snippets/blob/v0.2.5/css.json#L178) are very different. Plus, the main selling point of Emmet abbreviations is the brevity and the ability to get the snippets with the least amount of clicks. The main issue that was the reason of creating this current issue was that snippets like I reasoned that will snippet choices, we can surface this. But now I don't think that snippet choices is the right solution here. On digging deeper, I found the root cause for So I have logged an upstream issue for this: emmetio/css-snippets-resolver#6 |
Pushed a fix to ignore case when fuzzy matching, So Note to verifiers: From the css section in the emmet cheatsheet try out any of the abbreviations which have |
cc @LukeMcGurdy |
In |
@roblourens On The first |
I don't know where the 'n' comes from. Do you have another property called 'te' that already has value 'n'? |
@aeschli The "n" appears even without any other property in the file Try
|
@aeschli The It just echos what is already present |
@ramya-rao-a Thanks for finding the problem. Fix is on the way... |
Verified the fix, thanks @aeschli! |
We now have support for choices in snippets via #17545
But these choices don't show up in Emmet snippets. For example the
transform
snippet as defined here: https://github.com/emmetio/snippets/blob/v0.2.5/css.json#L178The text was updated successfully, but these errors were encountered: