Question

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?

Was it helpful?

Solution

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.

OTHER TIPS

I had the almost same issue in Visual Studio Express 2012. I couldn't write theese -> } <-. (Same problem as you, @hazard)

After reading @Bart's answer, I saw that Ctrl+Alt+0 was connected to something called "View.ViewCode". So I removed that shortcut and it worked.

What's weird though, is that I COULD write }s during the first few hours I used VS2012 after installing it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top