Skip to content

Seemingly Unmaintained, I have forked this and updated it to work in much the same way as the prettier plugin. #206

@Trapfether

Description

@Trapfether

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions