zignd / HTML-CSS-Class-Completion

:chocolate_bar: Visual Studio Code extension that provides CSS class name completion for the HTML class attribute based on the CSS files in your workspace
https://marketplace.visualstudio.com/items?itemName=Zignd.html-css-class-completion
MIT License
248 stars 83 forks source link

[FEATURE REQUEST] Toggle Autocompletion only on id, class or className attribute #435

Open kapsule-studio opened 8 months ago

kapsule-studio commented 8 months ago

I love this extension, it is a huge help for me who is using css/scss rather than Tailwind like the cool kids do. The only thing I'd like to change is the visibility of the autocompletion suggestions.

Would it be possible to toggle the display of suggestions only when setting an id, class or className attribute? Because right now, it just appears everywhere, everytime. Whereas I don't want it when I'm accessing an object's property for example.

Anyway, good job and thank you for this extension 👍🏾