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

Redo history is lost after saving and automatically reordering classes #77

Open lobo-tuerto opened 4 years ago

lobo-tuerto commented 4 years ago

Describe the bug I don't know if there is a way to prevent this from happening, but if you undo several times then save the file, the classes will be reordered and then all your redo history will be trashed.

Expected behavior If possible, it should reorder classes without affecting undo/redo history.

kerns commented 4 years ago

Ah. I hope I've not been falsely slandering VS Code for not being able to handle undo/redo and borking the undo history? 🤔

RyanRoberts commented 1 year ago

This has been driving me crazy, now I know which extension is the culprit. I've tested and can confirm redo history is lost after saving with Headwind enabled.