How can I add a custom command to Visual Studio?

前端 未结 2 499
情话喂你
情话喂你 2020-12-15 04:50

There\'s an external command I\'m using constantly - basically launching a batch file. I\'d like to put a toolbar button (and possibly keyboard shortcut) for this into the I

2条回答
  •  生来不讨喜
    2020-12-15 05:29

    All the configured external commands in VS are available to add to a Toolbar or Menu through the Tools>Customize menu as "External Command ##". You just need to know which number corresponds to the particular command you've configured. I believe it is in order of entry in the external commands list.

    Similarly, you can find those names in the commands list in Options>Environment>Keyboard and assign a shortcut to your command that way.

提交回复
热议问题