Bug with undoing changes - deletes the history of changes!
See original GitHub issueBug with undoing changes - deletes the history of changes!
Steps to reproduce:
- I type the template string with
$ {dd}
in it - Delete the dollar stamp
$
- I type something else in the code
- Undo changes - do
Ctrl + Z
- Undo gets stuck - I can’t undo or redo changes It deleted the history of changes!
Steps on the gif:
This is very painful because, for example, I check the previous version of something (undo), then I want to go back to the newest (redo) and they can’t, my work has been wasted!
For now, I am disabling the extension because it is dangerous.
Solution: An extension shouldn’t fire its function when you use undo/redo, but just like manually typing or pasting the code.
- There is probably also a problem with overwriting history when typing normally - because deleting
$
itself also blocked the history (undo).
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Auto closing tags - Bug with undoing changes - GitHub
It deleted the history of changes! This is very painful because, for example, I check the previous version of something (undo), then I...
Read more >Fix: "We Couldn't Complete the Updates Undoing Changes ...
Fix: “We Couldn't Complete the Updates Undoing Changes” Error on Windows · 1. Boot Windows in Safe Mode · 2. Clear Software Distribution...
Read more >BUG: Undo undoes 1 character at a time, unlike every other ...
It will undo 1 character at a time – which is terrible, since it takes forever, then you overshoot, and it starts undoing...
Read more >Undoing Changes Made to Your Computer: 7 Solutions to use
If the system is undoing changes made to your computer in Windows 11, that means the update process failed. Learn how to solve...
Read more >We couldn't complete the updates. Undoing changes. Don't
We couldn't complete the updates. Undoing changes. Don't turn off your computer. · 1- Open the Control Panel and click the Windows Update...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
done - it’s removed as of the next version. probably the right call, thanks for bringing this to my attention
Yeah I think you’re right. I’ll consider what to do, but might remove it entirely.