BeastCode/VSCode-Angular-TypeScript-Snippets

Make snippets optional

Closed this issue · 2 comments

Hi! Thanks this awesome plugin.

I have a feature request. It would be great if certain snippets could be turned off. For example, I currently do not use any of the PWA or Material snippets.

It would also mean that I can rid of this minor annoyance where I try to use Emmet to create a paragraph, but pwa appears right at the top of the list:

image

Hi Liza,

As far as I know there is no easy way to make part of the snippets optional, without releasing many different versions. But I think I have a solution for you. All you have to do is enter the following in your editor user settings, it will force the emmets to the top:

{
"emmet.showSuggestionsAsSnippets": true,
"editor.snippetSuggestions": "top"
}

Let me know how it works. I'm glad you liked the snippets and let me know if you have any more suggestions. --Mike

Hey Mike, thanks so much for your suggestion. showSuggestionsAsSnippets did the trick!

Happy to close this :)