无法在 Visual Studio 2010 + Resharper 中键入某些方括号 [英] Can't type certain square brackets in Visual Studio 2010 + Resharper
问题描述
在某些情况下,键入左方括号根本不会产生任何结果.特别是当我想在赋值表达式右侧的变量上键入它们时:
In certain cases typing an opening square bracket results in nothing at all. In particular when I want to type them on a variable in the right side of assignment expression:
arr[i] = arr
所以我不能输入,例如:
So I cant type, for example:
arr[i] = arr[9]
它与 Resharper 有关.然而,自动完成和东西的转动似乎并没有解决它.有人熟悉这个问题吗?
It has something to do with Resharper. However, turning of autocomplete and stuff doesn't seem to solve it. Anyone familiar with this problem?
推荐答案
我第一次联系 Resharper 时遇到了同样的问题.在工具>选项>环境>键盘下查看绑定到Ctrl+Alt+^(等于AltGr+[ 因为我想您使用 AZERTY 键盘).最简单的方法是将其作为新的快捷方式输入.
I had the same issue the first time I insalled Resharper. Look under Tools > Options > Environment > Keyboard to what is bound to Ctrl+Alt+^ (equals to AltGr+[ since I suppose you work on an AZERTY keyboard). Easiest way of doing is by just entering it as a new shortcut.
删除或重新绑定出现的快捷方式,您就可以开始了.
Remove or rebind the shortcut that comes up and you're good to go.
这篇关于无法在 Visual Studio 2010 + Resharper 中键入某些方括号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!