Visual Studio 2010:编辑器停止响应键盘 [英] Visual Studio 2010: Editor stops responding to keyboard

查看:192
本文介绍了Visual Studio 2010:编辑器停止响应键盘的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个非常奇怪的bug,在 Visual Studio 2010 中似乎是一个怪癖:有时,当将光标移动到双引号的CSS style = 属性游标拒绝移动。我不能键入任何东西,并且响应的键是 UP / DOWN 光标键和 DEL 键(但不能 BACKSPACE )。

I've got this very odd bug that appears to be a quirk in Visual Studio 2010: Sometimes, when moving the cursor into double quotes of a CSS style="" attribute the cursor refuses to move. I can't type anything, and the keys that respond are the UP/DOWN cursor keys and the DEL key (but not BACKSPACE).

但是在光标键上按 LEFT / RIGHT 会产生以下错误:

Typing does nothing, but pushing LEFT/RIGHT on the cursor keys produces the following error:


操作无法完成

ve不知道是什么原因造成的,但我会危害一个猜测 Intellisense 变得非常困惑和bugs。

I've got no idea what's causing this, but I would hazard a guess that Intellisense is getting very confused and bugging out.

每当这种情况发生,我必须写任何CSS outsite的双引号的 style 属性,然后将光标放在我想要的CSS出现(使用鼠标)和按 CTRL - V 即可粘贴。非常讨厌:(

At the moment, whenever this happens, I have to write any CSS outsite of the double quotes of the style attribute and then place the cursor where I want the CSS to appear (using the mouse) and press CTRL-V to paste it in. Very annoying :(

必须有办法解决这个问题吗?

There must be a way of fixing this problem...?

希望有人有答案!

推荐答案

Microsoft已经通过其支持门户报告了很多次这个问题的变化。 以下是一个帖子,如果您向下滚动您将看到一个注释与一系列其他报告,所有详细说明类似的(ish)问题。

Microsoft have had variations on this problem reported quite a few times via their support portal. Here is one post and if you scroll down you will see a comment with a bunch of other reports all detailing similar(ish) problems.

Microsoft似乎不能再现问题,但是将所有类似的键盘锁定问题转换为中心错误,以便我们可以考虑在必要时记录事件的方法。这似乎是一个通用的响应很多这些帖子。有些人报告说,这是简单的因为另一个窗口/窗格/标签是重点,但我可以看到OP显然没有这个具体的问题。看起来像是那些随机无法解决的错误。希望我从来没有得到它!在互联网上还有许多论坛帖子,用户表示删除某些第三方插件可以解决这个问题。

Microsoft doesn't seem to be able to reproduce the problem but are "duping all the similar keyboard locking problems to a central bug, so that we can think a way to log the events if necessary". Which seems to be a generic response to a lot of these posts. Some people reported that it was simply becuase another window/pane/tab was in focus but I can see the OP obviously did not have this specific problem. Looks to me like one of those random unresolvable bugs. Hope I never get it! There's also numerous forum posts around the Internet, where users stated that removing certain 3rd party plugins has solved this issue.

我发现了此特定帖子,其中可能有有用的注释(也可以链接到此SO帖子

I just spotted this particular post which has a possibly useful comment on it for you (which also link to this SO post. As I do not have the bug I cannot test its validity for you. The main point of it seems to be something about the keyboard layout switching.

我是一个非常有用的工具,对不起,把所有这一切都回答一个技术上它不是一个答案,只是一个大量的研究,但没有办法这将是适合一个评论。还抱歉,很多链接垃圾邮件,但再次没有办法我可以提取他们对这篇文章说的一切。我希望有一些有用的东西给你:)

I'm sorry for putting all this into an answer when technically it is not an answer and just a mass of research, but there was no way this was gonna fit into a comment. And also sorry for pretty much link spamming, but again there was no way I could extract everything that they said into this post. I hope there is something useful in there for you :)

编辑:你应该检查下面评分最高的答案这似乎解决了一些人民的问题,虽然我从来没有Resharper插件,并仍偶尔经历这一点,但现在我在VS2013,没有这个问题重新发生,所以也许他们固定它...

You should probably check the top rated answer below as this seems to solve a number of peoples issues, although I never had the Resharper plugin and still occasionally experienced this, but now I'm on VS2013 and have not had this problem re-occur, so maybe they fixed it...

这篇关于Visual Studio 2010:编辑器停止响应键盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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