windicss / windicss-intellisense

Intelligent WindiCSS tooling for VS Code
https://marketplace.visualstudio.com/items?itemName=voorjaar.windicss-intellisense
MIT License
194 stars 16 forks source link

Implement class regex for custom class name #382

Open snorreks opened 2 years ago

snorreks commented 2 years ago

We are using clsx in our project and with tailwind we could use

    "tailwindCSS.experimental.classRegex": [
        ["clsx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"]
    ],

in settings.json to get intellisense.

image

It would be great if windi can also implement this.

HiggsWRX commented 2 years ago

+1. This would also be a desired feature for us