I'll be coding along in Visual Studio 2008, and eventually I make a mistake. I press CTRL - Z to undo and NOTHING HAPPENS. I'm not talking about anything complicated, like undoing a search and replace across multiple files that weren't open. I am talking about undoing a cut & paste action, or simply the typing of text.
It's frustrating, do you know of any work-arounds?
I save often, so usually I can just close the file, re-open it, and the undo feature works again. Then, eventually (maybe in 20 seconds, maybe in an hour, maybe not at all), undo breaks again. This is really annoying, because I lose my place, my train of thought, the window size and position, and the split pane position when I have to close and re-open the file.
Details that might help:
I haven't yet taken the painful and annoying troubleshooting steps of reverting to a stripped-down Visual Studio 2008 install (default options, no plugins) and slowly building back up until I begin to experience the issue.
Before doing that I wanted to see if anyone else has experienced this and fixed it.
So, has CTRL - Z ever stopped working for you? Did you fix it?
Am I doing something stupid because this is actually a feature? Like, maybe some hotkey I am accidentally hitting or some action I am taking disables undo?
This problem seems to be closely related to Hot Reload feature in visual studio 2022. To solve this problem temporary, disable hot reloading in visual studio, and edit and continue option in debug. Visual Studio has to be restarted after changing these settings.
In Visual Studio, LLBLGen Pro uses the global undo / redo shortcuts for undo/redo: Ctrl-Z for undo and Ctrl-Y for redo. The undo-redo for the text editor switches to Ctrl-Shift-Z for undo and Ctrl-Shift-Y for redo in this case.
I have observed that the undo option is being disabled when I press CTRL + ENTER accidentally, and I fixed this by removing this hotkey.
To do this go to : Tools -> Option -> Environment -> Keyboard
and remove Edit.LineOpenAbove
shortcut.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With