Note that there are some explanatory texts on larger screens.

plurals
  1. PO"Undo" feature in Visual Studio 2008 stops working
    text
    copied!<p>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.</p> <p>It's so frustrating.</p> <p>Has this ever happened to you? If so, do you know of any work-arounds?</p> <p>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.</p> <p>Details that might help:</p> <ol> <li>I have the MDI interface enabled.</li> <li>I have Resharper installed.</li> <li>I have VisualSVN installed.</li> <li>Using Windows 7 x64 RTM</li> <li>When undo breaks, the "Undo" option in the edit menu is grayed out. As I continue to edit my document, the option stays grayed out until I close and re-open the document. This demonstrates that it's not just some other app stealing the hotkey. The whole feature stops working.</li> <li>I use a Logitech G19 (can't imagine that's it, but it's not a super popular keyboard, and it does things that are unusual for a keyboard)</li> </ol> <p>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.</p> <p>Before doing that I wanted to see if anyone else has experienced this and fixed it.</p> <p>So, has CTRL-Z ever stopped working for you? Did you fix it?</p> <p>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?</p> <p><strong>Update: With Thushan Fernando's help, I have fixed this. There is what I did:</strong></p> <ol> <li>Reset key mappings in Visual Studio: Make sure only one instance is running. Tools -> Options -> Environment -> Keyboard -> Reset.</li> <li>Restore ReSharper keyboard shortcuts: ReSharper -> Options -> Environment -> General -> ReSharper keyboard shortcuts. Close Visual Studio.</li> <li>At this point the problem may have actually been fixed. I am not sure. But I went further.</li> <li>Uninstall ReSharper 4.5.x.</li> <li>Install EAP build 5.0.1534.3.</li> <li>No more undo-breaking!</li> </ol> <p>(I never rebooted)</p> <p><strong>Update 2: It started happening again. I was able to fix it by doing step 1, restarting VS, and doing step 2.</strong></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload