VS 2013 SDK: How to keybind hotkey only for Code Window Editor?
In C# or else VB.Net , using a Visual Studio Package , I would like to assign a custom keyboard shortcut to a CommandBarButton , for example Ctrl + E + R , then, when pressed, the associated CommandBarButton should call its Execute method (I imagine that). How I could do it?. Update ( please avoid question above, that issue was already answered. ) Actually I'm using an vsct file, then my keybinding is this: <KeyBindings> <KeyBinding guid="guidMainCmdSet" id="cmdidMyCommand" editor="guidVSStd97" mod1="Control" key1="E" mod2="Control" key2="R"/> </KeyBindings> MSDN explains that the guidVSStd97