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

FormatOnSave: modified #184

Open saltcod opened 2 years ago

saltcod commented 2 years ago

VSCode introduced the concept of formatOnSave for just the parts of the file you changed a while back: "editor.formatOnSaveMode": "modifications",

Wondering if such an option would work here?

We have some giant legacy files that would create huge diffs if we turned this on. Would love to be able to use this for new stuff that we write in those files though.

Thanks for this plugin. Extremely useful.