heybourn / headwind

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

Sorting presets #173

Open raphaelgoetter opened 3 years ago

raphaelgoetter commented 3 years ago

Hello,

(This feature request is related to #171 and #144)

I still find it difficult to understand what rule defines the order of classes.

I heard about headwind.sortTailwindClasses but there are already existing and proven common presets (e.g. on Stylelint-order) that would allow reordering according to alphabetical, idiomatic, etc. order

So, what about some feature like headwind.sortTailwindClasses: "idiomatic"? I'd really love that!