Visual Studio find out what command is assigned to an hotkey

自作多情 提交于 2019-12-06 18:26:31

问题


I've installed a VisualStudio plugin that redefines some hotkeys, I need to come back to the standard hotkeys of Visual Studio for some of them. I know that under Tools->Options->Environment->Keyboard I can redefine the hotkeys, and I did it. The problem is that now it seems that my hotkey Ctrl-E, C has two command associated, the plugin one and the standard one. When I press that combination visual studio runs the plugin command and not the standard one.

The problem is that I don't know the plugin-command name so I can't deassociate it unless I go through all the command to see the associated hotkeys..Is there a way to discover commands associated to a specific hotkey?


回答1:


You can try to assign this shortcut to another command and then you will receive info that this shortuct is already used by [your command]:




回答2:


The Keyboard Shortcut Extension can help. It produces a text file with a block of entries listing all your current shortcuts like this: <command shortcut="Ctrl+M, Ctrl+E" name="Edit.ExpandCurrentRegion" /> You can search for the code.

Keyboard Shortcut Explorer



来源:https://stackoverflow.com/questions/13764306/visual-studio-find-out-what-command-is-assigned-to-an-hotkey

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!