Replies: 3 comments
-
Agreed about the Intellisense plugin part. Although most if not all members in my team, me included, use VSCode, our workflow should not be made dependent on any specific editors. |
Beta Was this translation helpful? Give feedback.
-
Yes, I absolutely support this proposal. Sometimes we have some duplicated components and we only wanna take the className out as a variable. But then everytime you edit that variable, you can't be sure the order of those classes is right. |
Beta Was this translation helpful? Give feedback.
-
I also think this would be useful |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Sometimes it is necessary to have class names in arbitrary strings. It would be great to be able to sort them using the Tailwind CSS Prettier plugin.
Examples:
This was also requested in tailwindlabs/prettier-plugin-tailwindcss#97.
Implementation ideas
Comments
By @jamescmartinez:
Via the Tailwind CSS Intellisense plugin
There was also a discussion about implementing sorting functionality in the Tailwind CSS Intellisense plugin. I'd advocate against that because:
Beta Was this translation helpful? Give feedback.
All reactions