Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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]

It has something to do with Resharper. However, turning of autocomplete and stuff doesn't seem to solve it. Anyone familiar with this problem?

like image 214
Tim Dams Avatar asked Feb 17 '12 07:02

Tim Dams


1 Answers

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.

like image 86
Bart Avatar answered Oct 23 '22 05:10

Bart