You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found this repo as I was looking for a sorting solution that did not involve using prettier on my code base that predates prettier and uses a old format guide.
I was excited to try it out and quickly realized that is simply does not support much of what Tailwind now does. The last updates were long enough ago that even the default class names included as part of this extension are not correct anymore. Additionally, the methodology this extension was using of simply listing all the classes in a large list of their predefined order was insufficient for most codebases with tailwinds new features.
So I have forked this extension and updated it to work in pretty much the same way as the prettier extension, using the project's local tailwind installation and config to generate the proper sorting including all variants.
I found this repo as I was looking for a sorting solution that did not involve using prettier on my code base that predates prettier and uses a old format guide.
I was excited to try it out and quickly realized that is simply does not support much of what Tailwind now does. The last updates were long enough ago that even the default class names included as part of this extension are not correct anymore. Additionally, the methodology this extension was using of simply listing all the classes in a large list of their predefined order was insufficient for most codebases with tailwinds new features.
So I have forked this extension and updated it to work in pretty much the same way as the prettier extension, using the project's local tailwind installation and config to generate the proper sorting including all variants.
If you would like to try out the updated extension, it is here https://marketplace.visualstudio.com/items?itemName=Trapfether.tailwind-raw-reorder
The text was updated successfully, but these errors were encountered: