Get full list of available commands for DTE.ExecuteCommand

后端 未结 4 699
失恋的感觉
失恋的感觉 2021-02-02 02:14

I use VS2010 and Addin, using DTE.ExecuteCommand and commands like Build, Build.Cancel, Build.RebuildSolution, etc.

You can get a command with DTE.Commands.Item(\"xxx\")

4条回答
  •  滥情空心
    2021-02-02 02:51

    A list of commands can be examined by following this procedure:

    • Open Visual Studio's Options Dialog Box
    • Select the Environment/Keyboard page
    • You can search for a specific command in the "Show commands containing:" box, or just scroll the list behind it.

提交回复
热议问题