Tobia Zambon
Tobia Zambon

Reputation: 7629

Visual Studio find out what command is assigned to an hotkey

I've installed a Visual Studio 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 dissociate 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?

Upvotes: 20

Views: 2806

Answers (3)

Benjamin Berman
Benjamin Berman

Reputation: 1

As of 2025, follow @fastmultiplication's answer, but use "Keyboard Shortcut Exporter" extension instead of "Keyboard Shortcut Explorer".

Upvotes: 0

fastmultiplication
fastmultiplication

Reputation: 3081

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 then search for the command in the exported file using the shortcut.

Keyboard Shortcut Explorer

Upvotes: 6

psur
psur

Reputation: 4519

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]:

enter image description here

Upvotes: 27

Related Questions