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

Adapt `prettier-plugin-tailwindcss` for Windi #302

Closed kansson closed 2 years ago

kansson commented 2 years ago

Found out that Tailwind has released a neat prettier plugin for class sorting: https://github.com/tailwindlabs/prettier-plugin-tailwindcss

Are there any plans to adapt it to work with Windi? In my option, it seems like a great idea since the current sorting solution has some problems like #297. There is work needed to support Windi specific features like variant groups, but it shouldn't be too hard.

I'm open to trying this if there isn't anything planned.

alexanderniebuhr commented 2 years ago

Feel free to contribute a PR.

alexanderniebuhr commented 2 years ago

you can also track https://github.com/alexanderniebuhr/prettier-plugin-unocss (which I would call the windi css version)