-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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 snippets -> to the TOP of snippets list #32346
Comments
Emmet is now an extension. The Currently emmet doesn't return the suggestions as snippet, because I was concerned about users who might have set But you raise a good point. When users have set One hacky way around this is for the emmet extension to use the "snippet" type on the emmet suggestions when This way, when |
It took me a minute to find this issue, but I'm glad I did. I downloaded 1.15.1 today and agree it would be even better if I could bubble Emmet's CSS suggestions to the top. EDIT: Oops, bad screenshot -- I was trying to include an example of me trying to add |
Added a new setting With I am adding a setting and not making this the default due to the concern I explained before. Which is that users who have @user3323, @ianjmacintosh, @vvs, @dimondevs |
WHOA, this is great! Now I could add all my quick Emmet snippets, like p for padding, m for margin, b for border, c for color etc, and they all are at the top the suggestion list, so they finally work as expected! :) |
Thank you @ramya-rao-a , everything works as expected. |
@vvs When you say "my quick Emmet snippets" do you mean your custom ones or the default ones from emmet? |
@ramya-rao-a Awesome work, thank you for addressing. I can confirm in a clean install of 1.16.0-insider with settings: {
"emmet.showSuggestionsAsSnippets": true,
"editor.snippetSuggestions": "top"
} |
I meant my custom emmet snippets. But it looks like I don't need to create those custom snippets at all, since the default ones work great when I set Emmet suggestions to be treated as snippets and put them on top. So, all those |
@vvs Yup, that was what I was hoping for, that you wouldn't have to create custom snippets for things which have default ones set up. @ianjmacintosh @vvs @dimondevs Thanks for verifying and Happy Coding! |
Well, now "Tab" and it's double-action for tabing and Emmet expand cannot do it anymore, as I see.
So, what about setting, that will put Emmet snippets TO THE TOP of the common snippets list?
We have nice setting called "editor.snippetSuggestions" and one of its value called "top"
But it works only for snippets, written in "[language].json" files.
So, what about Emmet snippets? It also should have settings like this!
The text was updated successfully, but these errors were encountered: