Unidentified Key Chord in VS2015

2019-02-21 17:19发布

问题:

This morning I started working on VS2015 and I notice that the Shift+E key is associated to a Key chord.

I can't use it in the editor or any editing stuff (like rename a file in solution explorer)

I can't identify which command it is associated because it is the first part of a chord and I can find any combination that continues the chord.

I also can't locate any command associated to it in the Tools->Options->Environment->Keyboard dialog. The list is huge and I can't search by key.

Please I need help!!! I can't continue to edit the file without using the "E" (uppercase e)

回答1:

I found the problem.

The shortcut reassign was done by the latest update of Powershell Tools for VS2015.

That is a nasty bug.

The command changed was: EditorContextMenus.CodeWindow.PowerShell.ExecuteAsScript

It was assigned to "Shift+E, F5" instead of "Shift+Alt+E, F5"

To find out the problem I had to install the Keyboard Shortcut Explorer and export all the shortcuts to xml file an search for the key in Notepad++.



回答2:

This problem was fixed in version 3.0.177. Update your Visual Studio extensions or download it from https://visualstudiogallery.msdn.microsoft.com/c9eb3ba8-0c59-4944-9a62-6eee37294597