Search code examples
visual-studiokeyboard

Keyboard shortcuts starting with Alt don't work in VS


Keyboard shortcuts which start with Alt (such as Peek Definition Alt+F12) stopped working on Visual Studio 2015.
When I press Alt key, those underscores appear under menu items (which is default behavior of windows) as shown on image

enter image description here

Other keyboard shortcuts such as F5, and all the ones starting with Ctrl are working properly.
I've found a lot of answers about keyboard shortcut conflicts after installing ReSharper, but I haven't installed it.
Any suggestions?


Solution

  • After long troubleshoting and googling I've combined multiple things and it worked:

    1. Updated the Visual Studio

    2. Resetted keyboard layout with following steps:
      2.1. Make sure you have no additional keyboard and displays connected (this could be optional step, but without this the solution was not working for me)
      2.2. From menu open "Tools" and select "Options"
      2.3. From left side select "Environment" and click on "Keyboard"
      2.4. Change the mapping scheme to "Default"
      2.5. Click on "Reset" (You'll be promted something then click on "Yes") and OK
      2.6. And now restart the application enter image description here

    3. Also by the way installed ReSharper and uninstalled (this also plays keyboard shortcuts of Visual Studio) and retried second step