stivoat / tailwind-fold

Visual Studio Code extension that improves code readability by folding long class attributes
https://marketplace.visualstudio.com/items?itemName=stivo.tailwind-fold
MIT License
121 stars 23 forks source link

Astro class:list is not supported #41

Open Avataw opened 7 months ago

Avataw commented 7 months ago

So I'm using tailwind with astro and it offers a built in way to handle conditional classes by using 'class:list'.

It would be very much appreciated if I they would be folded as well.

As this is a rather niche-request I wonder what the best approach for this would be. Maybe there could be a field in the extension settings where one could add additional variants (like class:list) to be folded as well?

I'd be interested in implementing this too, just le me know what your preferred approach would be :)