10
votes

I just went over to VS 2015 from 2013. Back in 2013 I was using Alt + Shift + ( for typing the { character. In VS 2015 the same command toggles the error display for the scroll bar and wont let me type the opening curly bracket.

I've tried to track down this awful shortcut in Tools -> Options -> Environment -> Keyboard but without any success.

Anyone know how to remove this or override it with my desired shortcut?

Edit: I'm using Resharper 9.2 Ultimate and it's keyboard scheme : ReSharper 2.x or IntelliJ IDEA over Visual Studios default scheme. I've tried with both schemes and none of them seems to solve this issue. So this should not be the cause of the problem, unless I'm missing something obvious.

Regarding the keyboard layout: I'm using a Swedish one (sv) and it looks like this: enter image description here

And my physical keyboard looks like this (Mac): enter image description here

Note I'm using the following vs setup :

Microsoft Visual Studio Professional 2015

Version 14.0.23107.0 D14REL

Microsoft .NET Framework

Version 4.6.00081

Installed Version: Professional

To clarify even more:

enter image description here enter image description here

Notice the green little checkbox, that indicates if there are any errors or warnings, on picture two. This is what's getting toggled while using the desired command inside VS.

1
Either this is a typo or there's wrong with your keyboard and/or your previous shortcuts. This has nothing to do with Visual Studio. Are you using a non-QWERTY (or non-US QWERTY) keyboard layout perhaps? The typical location of { is above [. Pressing Shift + [ should return {. In fact, you need to type Shift + 9 to get ( so your keystroke can't be Alt + Shift + ( in a common layoutPanagiotis Kanavos
For those that are interested I'm guessing the OP's keyboard looks something like thisjuharr
@ntohl There is no such mapping in VS, new or old. This is a Windows issue - some layouts use the right Alt as a shortcut to typing special "Graphics" characters. The common QWERTY layout doesn't need that. Keyboard-level shortcuts take precedence over application shortcutsPanagiotis Kanavos
The big thing we're missing to make this a reproducible issue is knowing what your keyboard settings for Windows are (what keyboard layout are you using? en-US? en-UK? something else?) and what/if any changes you've made to Visual Studio's default keymapping. Keep in mind, this question is on topic, but even if it's on topic, we have to be able to know definitively what the OP is using so that we can definitively answer (and so that future users with the same issue can determine if they have the same keyboard layout with certainty).George Stocker
Guys, why are you asking him for his keyboard layout? He's only asking how to find (and change the shortcut to toggle the error display. This has nothing to do with the keyboard, it is a VS setting.Racil Hilan

1 Answers

4
votes

This is a ReSharper keybinding. The default keybinding is Ctrl + Alt + Shift + 8. It sounds like you are either holding more keys than you intend or have ended up giving it a keybinding that conflicts with your keyboard setup.

To change the keybinding go to Tools > Options > Keyboard again and search for ReSharper_EnableDaemon. You can remove the keybinding or set it to something else.