Partilhar via


IDE-Defined Commands, Menus, and Groups

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Many menus, commands and command groups are already defined for use by the Visual Studio IDE. These commands are also available for your use when you extend Visual Studio.

Finding Environment-Defined Commands

The environment commands are defined in a set of four .vsct files:

  • SharedCmdDef.vsct

  • SharedCmdPlace.vsct

  • ShellCmdDef.vsct

  • ShellCmdPlace.vsct

    These files are located in <Visual Studio SDK installation path>\VisualStudioIntegration\Common\Inc\. These files provide the definitions and GUIDs of the menus and groups that you can use in the command table configuration (.vsct) file of your VSPackage as containers for your own menus, groups, and commands.

In This Section

GUIDs and IDs of Visual Studio Menus
Gives the GUID and ID values of menus on the Visual Studio menu bar, and of the groups they contain.

GUIDs and IDs of Visual Studio Toolbars
Gives the GUID and ID values of toolbars in the Visual Studio IDE, and of the groups they contain.

GUIDs and IDs of Visual Studio Commands
Gives the GUID and ID values of commands defined by the Visual Studio IDE.

See Also

Visual Studio Command Table (.Vsct) Files
IDE-Defined Commands for Extending Project Systems
How VSPackages Add User Interface Elements