Get full list of available commands for DTE.ExecuteCommand
问题 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") and guess if it is available with Command.IsAvailable. The list of commands is in the Tools, Options window, Environment, Keyboard section. Too, as you know DTE.ExecuteCommand takes two strings as parameters. The first one is the name of the command (for example, Action.CreateNewShortcut) and the second one is the arguments