'VSCode: prevent custom snippets from being suggested in wrong place in HTML

I have several custom HTML snippets for pieces of boilerplate HTML code I use often.

There are intended to be inserted somewhere in the DOM, such as a DIV.

However, they are being suggested when inside the quotes of an HTML attribute — where they can't be used — pushing down valid attribute selections.

How can I prevent this or, if not, disable intellisense for my HTML snippets altogether?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source