formulahendry / vscode-auto-rename-tag

Automatically rename paired HTML/XML tag
https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-rename-tag
MIT License
259 stars 36 forks source link

Breaks Undo History #588

Open AverTry opened 3 years ago

AverTry commented 3 years ago

If tag name gets accidently dragged to different position, your extension rewrites the tag, then undo/redo loops over last change and history is broken.

When using F2 in VScode all is well.

If you can stop this behaviour I would reuse it over F2 as it feels more natural.

TSMMark commented 3 years ago

Please fix this. As is, the extension is unusable as it ruins your undo ability.

max-sym commented 2 years ago

Relevant! Needs a fix!