“撤消"Visual Studio 2008 中的功能停止工作 [英] "Undo" feature in Visual Studio 2008 stops working

查看:32
本文介绍了“撤消"Visual Studio 2008 中的功能停止工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将在 Visual Studio 2008 中进行编码,但最终我犯了一个错误.我按 CTRL - Z 撤消并且什么也没发生.我不是在谈论任何复杂的事情,比如在多个未打开的文件中撤消搜索和替换.我说的是撤消剪切&粘贴操作,或者只是输入文本.

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?

我经常保存,所以通常我只需关闭文件,重新打开它,撤消功能就会再次起作用.然后,最终(可能在 20 秒后,可能在一个小时内,可能根本没有),再次撤消中断.这真的很烦人,因为当我不得不关闭和重新打开文件时,我失去了我的位置,我的思路,窗口大小和位置,以及拆分窗格的位置.

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:

  1. 我启用了 MDI 接口.
  2. 我安装了 Resharper.
  3. 我安装了 VisualSVN.
  4. 使用 Windows 7 x64 RTM
  5. 当撤销中断时,编辑菜单中的撤销"选项变灰.当我继续编辑我的文档时,该选项保持灰色,直到我关闭并重新打开文档.这表明它不仅仅是其他一些应用程序窃取了热键.整个功能停止工作.
  6. 我使用的是罗技 G19(无法想象就是这样,但它不是一款非常受欢迎的键盘,它的功能对于键盘来说是不寻常的)

我还没有采取痛苦和烦人的故障排除步骤,恢复到精简的 Visual Studio 2008 安装(默认选项,无插件),然后慢慢地重新构建,直到我开始遇到问题.

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.

那么,CTRL - Z 是否曾经停止为您工作?你修好了吗?

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?

推荐答案

我遇到了同样的问题 - 我也使用 VisualSVN 和 ReShaper.您使用的是什么版本的 ReSharper,4.5.x?

I've come across the same issue - and I too use VisualSVN and ReShaper. What version of ReSharper are you using, 4.5.x?

我发现它与 4.5.x 一起出现,但在我在 Visual Studio 中重置键盘布局后,最近的 EAP 版本(我不记得是哪个)确实为我解决了这个问题.

I've found it appearing with 4.5.x but a recent EAP build (I can't recall which) did address it for me after I reset the Keyboard layout in Visual Studio.

首先,正如其他人所说,尝试禁用 ReSharper(插件管理器,直到启动)重新启动(IDE),看看它是否在您工作时出现(重置键盘布局后).

So first as others have stated, try disabling ReSharper (Addin Manager, until startup too) restart (the IDE) and see if it appears whilst your working (after resetting the keyboard layout).

这篇关于“撤消"Visual Studio 2008 中的功能停止工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆