“Undo” feature in Visual Studio 2008 stops working

前端 未结 8 2123
梦如初夏
梦如初夏 2021-02-01 03:21

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

相关标签:
8条回答
  • 2021-02-01 03:30

    I had the same problem recently. I think it was caused by an exception in ReSharper (these are shown in the status bar of Visual Studio), at least ReSharper showed a message box to submit some errors to JetBrains at around the same time.

    If you experience this problem again, verify whether ReSharper shows any errors/exceptions, and if it does, you might want to submit them to JetBrains.

    After restarting Visual Studio, undo worked again (for me).

    0 讨论(0)
  • 2021-02-01 03:35

    If the other solutions don't work

    I think a common problem is that keyboard bindings get changed somehow. It's easiest just to go and reset them like this:

    • Reset them. Tools -> Options -> Environment -> Keyboard -> Reset -> OK
    • Restart Visual Studio
    0 讨论(0)
  • 2021-02-01 03:36

    If anyone is still following this, Undo disables for me when I try to Ctrl+Shift+Enter to jump to a new line.

    I am using VS2008 Pro, WinXP, editing an XSLT file. Resetting keyboard settings does not help. AnkhSVN installed but not in use.

    0 讨论(0)
  • 2021-02-01 03:40

    I had this in visual studio 2008SP1 - one day the undo function just completely stopped working. Looking at a previous posters comment, i just did :

    Tools -> Option -> Environment -> Keyboard Press Reset

    After restarting visual studio, undo now works.

    0 讨论(0)
  • 2021-02-01 03:41

    I would check out your clipboard ring and watch and see when/if it gets cleared out. If that ever happens you'll know you just lost your undo. Also, if you can see it happen then you might have a better chance of identifying what is causing it.

    0 讨论(0)
  • 2021-02-01 03:46

    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.

    0 讨论(0)
提交回复
热议问题