Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Trapfether opened this issue Oct 7, 2023 · 3 comments

Comments

@Trapfether
Copy link

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

@brablc
Copy link

brablc commented Nov 22, 2023

At the moment does not seem to work: Trapfether#4

@Trapfether
Copy link
Author

Trapfether commented Nov 29, 2023

The issue is being addressed over on the repo Trapfether/tailwind-raw-reorder#4

For those having an issue in the meantime, please make sure to include a tailwind config file at the base directory of your project.

@wpsix
Copy link

wpsix commented Dec 31, 2023

Trapfether

thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants