Сейчас я пытаюсь добавить ярлык для моего пакета. И я нашел эту статью , которая может оказаться полезной. Как описано в статье, я добавляю атрибут KeyBinding в файл vsct, например:
<KeyBindings>
<KeyBinding guid="guidPackageTestCmdSet" id="commandId01" editor="guidVSStd97"
key1="M" mod1="Control" >
</KeyBinding>
when I run this package, you can see the shortcut info "Ctrl+M" at right of the command name, but it doesn't fires after I press control + M.