Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2015 strange Keyboard Shortcuts

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.

like image 635
dont_trust_me Avatar asked Sep 21 '15 12:09

dont_trust_me


People also ask

How do I reset keyboard shortcuts in Visual Studio?

Go to Tools->Options->Keyboard, choose (Default) and click Reset.

How do I assign keyboard shortcuts in Visual Studio?

On the menu bar, choose Tools > Options. Expand Environment, and then choose Keyboard. Optional: Filter the list of commands by entering all or part of the name of the command, without spaces, in the Show commands containing box. In the list, choose the command to which you want to assign a keyboard shortcut.

What is Ctrl KD in Visual Studio?

Ctrl + K + D (Entire document) Ctrl + K + F (Selection only) To find out which key bindings apply in YOUR copy of Visual Studio, look in the Edit > Advanced menu - the keys are displayed to the right of the menu items, so it's easy to discover what they are on your system.

What is Ctrl F7 in Visual Studio?

Support Visual Studio Ctrl+F7 (Compile Single File) Workflow with FastBuild .


1 Answers

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.

like image 90
Vincent Cunningham Avatar answered Oct 13 '22 03:10

Vincent Cunningham