6

我使用 VS2013 作为我的 IDE,自从我安装它后,当按下 ALT 和任何箭头键时,它的行为就非常奇怪。我使用 ALT+LEFT 和 ALT+RIGHT 向后/向前导航,这原则上有效,但是一旦 VS 完成跳转,它就会写出一个字符。

这是跳跃前的:

跳跃前

这是在跳转之后/按 ALT+LEFT 之后: 跳跃后

这些是正在写入的字符:

  • ALT+UP:◘</li>
  • ALT+RIGHT:♠</li>
  • ALT+DOWN:☻</li>
  • ALT+左: ♦

我一直在工作中使用 VS2013,我以前从未见过这种情况。我知道按 ALT+NUMPAD_KEYS 会产生 ASCII 字符,但为什么我的箭头键会发生这种情况并且只在 VS 中发生?显然 ALT+UP 对我来说与按 ALT+6 相同(http://www.irongeek.com/alt-numpad-ascii-key-combos-and-chart.html)。我实际上换掉了我的键盘,看看它是否与此有关。没有喜悦。

有任何想法吗?

更新 1:
看起来这个家伙有类似的问题,但在 Windows 上使用 Eclipse:
https
://superuser.com/questions/668394/turn-off-alt-numeric-keypad-ascii-symbol-insertion 遗憾的是他的帖子没有答案.

更新 2/解决方案:

根据“Hans Passant”的评论,我找到了解决方案。详情见下文

4

1 回答 1

4

I have found the cause thanks to Hans Passant.

I did a diagnostic boot and discovered the issue even then still persisted. I then went on to kill all remaining processes until I struck gold:

the bad guy

With this process gone ALT+ARROW_KEYS don't trigger ASCII symbol insertion anymore. I ended up doing two things in total to get rid of this process:

  1. Reinstalled .NET Framework 4.5.1
  2. Renamed/Removed this file: C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegSvcs.exe

On booting into Windows there are neither errors pertaining to that particular executable nor have I noticed any other malfunctions. Just to be sure, I ran a couple of virus/malware removal tools. They all came up with no threats.

于 2014-12-20T14:12:03.767 回答