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 45 forks source link

unable to prepend Custom Classes #126

Closed raphaelgoetter closed 3 years ago

raphaelgoetter commented 3 years ago

Describe the bug prependCustomClasses to true should order custom classes before the others.

When I modify the settings to "headwind.prependCustomClasses": true (or when I check the chekbox in the extension settings), my custom class is pushed at the end :

This is what I type :

class="pre-footer py-40"

This is headwind's result :

class="py-40 pre-footer"

"headwind.prependCustomClasses": true and "headwind.prependCustomClasses": false produce the exact same result : my custom class is pushed at the end.

Desktop (please complete the following information):

aswinmohanme commented 3 years ago

You have to restart VSCode after the change

raphaelgoetter commented 3 years ago

Allright, thank you.