[Prettier Plugin] Sorting in JS files #19470
Replies: 1 comment
-
|
I was just researching this issue/feature myself and came across this from 2022: tailwindlabs/prettier-plugin-tailwindcss#97 (comment) Specifically, the reasoning for not implementing this:
What you can do though, is add the I just tested this myself with your given example, and while it might not be ideal, it does work: Or what I've been doing: If you're using VS Code and the Tailwind CSS IntelliSense extension, you can highlight a string and then use:
Hope this helps! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey guys,
Maybe this is alredy available , but I am working in vanilla JS and extend HTMLElement for my main ui parts.
Unfortunately sorting does not work in JS.
Anyway to add it or some workaround for now?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions