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
253 stars 83 forks source link

A list of properties where suggestions are enabled #394

Open macCesar opened 2 years ago

macCesar commented 2 years ago

Hi there.. Is there a way to add additional properties for class name suggestions??

Basically I need them for these two properties: icon and classes.

<Alert module="tikit.ui" icon="md md-security_update_good text-2xl" classes="mt-4" title="Solid banner with a custom Icon" variant="solid" color="success" />

But other properties might be needed, so it would be very handy to have something like this:

"html-css-class-completion.tagProperties": [
  "icon",
  "classes",
  // default properties
  "class",
  "className"
],