One of my colleagues and I were wondering if there was an easy way to help make Visual Studio Shortcut Keys more discoverable.  To give it a try I made a DXCore plugin with a tool window to achieve this.  The key to this is setting up an event handler when a command in Visual Studio has finished firing.

 

image

 

1.  Create a new tool window plugin with the DXCore framework.  This is pretty simple.

2.  The key is to attach a handler to CommandEvents AfterExecute(…) event handler and  loop through each command in ApplicationObject.Commands.  If a Command has Bindings show them in a listbox or textbox in the tool window.  It really is pretty simple.  For a copy of code, please leave a comment.  I will try to post it in a Codeplex project for DXCore Plugins.

 

Technorati Tags: , , ,
Advertisements