heybourn / headwind

An opinionated Tailwind CSS class sorter built for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=heybourn.headwind
MIT License
1.38k stars 46 forks source link

Reordering within project and/or folder #10

Closed wellbrained closed 4 years ago

wellbrained commented 4 years ago

Cheers,

currently it's only possible to reorder the classes within the opened file.

It would be also good to have an option to let it reorder the whole classes within a selected folder or even the whole project.

Especially necessary if we want to implement this not only from the scratch of a project.

Thanks, ~ Brain

praveenperera commented 4 years ago

Hey I think @heybourn if building this in to the plugin right now.

However you can use the CLI tool inspired by headwind to do that now: https://github.com/avencera/rustywind

praveenperera commented 4 years ago

I've added this functionality, I'm waiting to get some people to test it before I do a PR

You can test by manually install the plugin from: https://github.com/avencera/headwind/blob/run-on-project/headwind-1.5.5.vsix

heybourn commented 4 years ago

This is now possible with the latest version of Headwind 🥳