Menús de GUID e identificadores de Visual StudioGUIDs and IDs of Visual Studio menus

En este artículo se enumera los valores GUID y el Id. de los menús y los grupos en la barra de menús de Visual Studio.This article enumerates the GUID and ID values of the menus and groups on the Visual Studio menu bar. Estos valores se definen en .vsct archivos que se instalan como parte del SDK de Visual Studio.These values are defined in .vsct files that are installed as part of the Visual Studio SDK. Para obtener más información, consulte grupos, menús y comandos definidos por el IDE.For more information, see IDE-defined commands, menus, and groups.

Para obtener más información sobre cómo trabajar con objetos de entorno (IDE) de desarrollo integrado que se definen en .vsct archivos, consulte amplían los menús y comandos.For more information about how to work with integrated development environment (IDE) objects that are defined in .vsct files, see Extend menus and commands.

Los menús y los grupos en la barra de menús de Visual Studio usan el GUID guidSHLMainMenu.The menus and groups on the Visual Studio menu bar use the GUID guidSHLMainMenu. El menú de la propia barra tiene un Id. de IDM_VS_TOOL_MAINMENU.The menu bar itself has an ID of IDM_VS_TOOL_MAINMENU.

Grupos en la barra de menús de Visual StudioGroups on the Visual Studio menu bar

Para agregar un menú a la barra de menús, establezca uno de estos grupos como su elemento primario.To add a menu to the menu bar, set one of these groups as its parent.

AgruparGroup Id.ID
Archivo/Editar/verFile/Edit/View IDG_VS_MM_FILEEDITVIEWIDG_VS_MM_FILEEDITVIEW
RefactorizaciónRefactoring IDG_VS_MM_REFACTORING:IDG_VS_MM_REFACTORING:
ProyectoProject IDG_VS_MM_PROJECTIDG_VS_MM_PROJECT
CompilarBuild IDG_VS_MM_BUILDDEBUGRUNIDG_VS_MM_BUILDDEBUGRUN
Formato/ToolsFormat/Tools IDG_VS_MM_TOOLSADDINSIDG_VS_MM_TOOLSADDINS
Ventana, ayuda y ComunidadWindow/Help/Community IDG_VS_MM_WINDOWHELPIDG_VS_MM_WINDOWHELP
AddInsAddins IDG_VS_MM_MACROSIDG_VS_MM_MACROS
FullScreenBarFullScreenBar IDG_VS_MM_FULLSCREENBARIDG_VS_MM_FULLSCREENBAR

Para agregar un grupo a un menú existente de Visual Studio, establezca uno de los siguientes menús como su elemento primario.To add a group to an existing Visual Studio menu, set one of the following menus as its parent. No se incluyen submenús en esta lista.Submenus are not included in this list.

MenúMenu Id.ID
ArchivoFile IDM_VS_MENU_FILEIDM_VS_MENU_FILE
EditarEdit IDM_VS_MENU_EDITIDM_VS_MENU_EDIT
VerView IDM_VS_MENU_VIEWIDM_VS_MENU_VIEW
RefactorizarRefactor IDM_VS_MENU_REFACTORINGIDM_VS_MENU_REFACTORING
ProyectoProject IDM_VS_MENU_PROJECTIDM_VS_MENU_PROJECT
CompilarBuild IDM_VS_MENU_BUILDIDM_VS_MENU_BUILD
FormatoFormat IDM_VS_MENU_FORMATIDM_VS_MENU_FORMAT
HerramientasTools IDM_VS_MENU_TOOLSIDM_VS_MENU_TOOLS
VentanaWindow IDM_VS_MENU_WINDOWIDM_VS_MENU_WINDOW
AddInsAddins IDM_VS_MENU_ADDINSIDM_VS_MENU_ADDINS
comunidadCommunity IDM_VS_MENU_COMMUNITYIDM_VS_MENU_COMMUNITY
AyudaHelp IDM_VS_MENU_HELPIDM_VS_MENU_HELP

Grupos en los menús de Visual StudioGroups on Visual Studio menus

Las listas siguientes muestran los grupos que descienden directamente desde los menús en la barra de menús de Visual Studio.The following lists show the groups that descend directly from menus on the Visual Studio menu bar. Es la forma más rápida para agregar un comando a un menú de Visual Studio establecer uno de estos grupos como elemento primario.The quickest way to add a command to a Visual Studio menu is to set one of these groups as the parent. Los grupos que descienden de submenús no aparecen en esta sección.Groups that descend from submenus do not appear in this section.

Grupos de menús de archivoFile menu groups

AgruparGroup Id.ID
Nuevo o abrirNew/Open IDG_VS_FILE_FILEIDG_VS_FILE_FILE
AddAdd IDG_VS_FILE_ADDIDG_VS_FILE_ADD
SolucionesSolution IDG_VS_FILE_SOLUTIONIDG_VS_FILE_SOLUTION
VariosMisc IDG_VS_FILE_MISCIDG_VS_FILE_MISC
GuardarSave IDG_VS_FILE_SAVEIDG_VS_FILE_SAVE
Cambiar nombreRename IDG_VS_FILE_RENAMEIDG_VS_FILE_RENAME
ExploradorBrowser IDG_VS_FILE_BROWSERIDG_VS_FILE_BROWSER
ImprimirPrint IDG_VS_FILE_PRINTIDG_VS_FILE_PRINT
Usados más recientementeMost Recently Used IDG_VS_FILE_MRUIDG_VS_FILE_MRU
MoverMove IDG_VS_FILE_MOVEIDG_VS_FILE_MOVE
SalirExit IDG_VS_FILE_EXITIDG_VS_FILE_EXIT

Editar grupos de menúsEdit menu groups

AgruparGroup Id.ID
Deshacer/rehacerUndo/Redo IDG_VS_EDIT_UNDOREDOIDG_VS_EDIT_UNDOREDO
Cortar/Copiar/PegarCut/Copy/Paste IDG_VS_EDIT_CUTCOPYIDG_VS_EDIT_CUTCOPY
SeleccionarSelect IDG_VS_EDIT_SELECTIDG_VS_EDIT_SELECT
Ir aGoTo IDG_VS_EDIT_GOTOIDG_VS_EDIT_GOTO
FindFind IDG_VS_EDIT_FINDIDG_VS_EDIT_FIND
de la empresaObjects IDG_VS_EDIT_OBJECTSIDG_VS_EDIT_OBJECTS
Verbos OLEOLE Verbs IDG_VS_EDIT_OLEVERBSIDG_VS_EDIT_OLEVERBS
Comando bienCommand Well IDG_VS_EDIT_COMMANDWELLIDG_VS_EDIT_COMMANDWELL

Refactorizar los grupos de menúsRefactor menu groups

AgruparGroup Id.ID
ComúnCommon IDG_REFACTORING_COMMONIDG_REFACTORING_COMMON
AvanzadasAdvanced IDG_REFACTORING_ADVANCEDIDG_REFACTORING_ADVANCED

Grupos de menús de vistaView menu groups

AgruparGroup Id.ID
Código del formularioForm Code IDG_VS_VIEW_FORMCODEIDG_VS_VIEW_FORMCODE
ExploradorBrowser IDG_VS_VIEW_BROWSERIDG_VS_VIEW_BROWSER
Definir vistasDefine Views IDG_VS_VIEW_DEFINEVIEWSIDG_VS_VIEW_DEFINEVIEWS
WindowsWindows IDG_VS_VIEW_WINDOWSIDG_VS_VIEW_WINDOWS
Diseñar la arquitectura de WindowsArchitect Windows IDG_VS_VIEW_ARCH_WINDOWSIDG_VS_VIEW_ARCH_WINDOWS
Windows de la organizaciónOrganization Windows IDG_VS_VIEW_ORG_WINDOWSIDG_VS_VIEW_ORG_WINDOWS
Explorador de códigoCode Browser IDG_VS_VIEW_CODEBROWSENAV_WINDOWSIDG_VS_VIEW_CODEBROWSENAV_WINDOWS
Windows devDev Windows IDG_VS_VIEW_DEV_WINDOWSIDG_VS_VIEW_DEV_WINDOWS
Barras de herramientasToolbars IDG_VS_VIEW_TOOLBARSIDG_VS_VIEW_TOOLBARS
SímbolosSymbols IDG_VS_VIEW_SYMBOLNAVIGATEIDG_VS_VIEW_SYMBOLNAVIGATE
NavegarNavigate IDG_VS_VIEW_NAVIGATEIDG_VS_VIEW_NAVIGATE
Navegue pequeñoSmall Navigate IDG_VS_VIEW_SMALLNAVIGATEIDG_VS_VIEW_SMALLNAVIGATE
Examinador de objetosObject Browser IDG_VS_VIEW_OBJBRWSRIDG_VS_VIEW_OBJBRWSR
Comando bienCommand Well IDG_VS_VIEW_COMMANDWELLIDG_VS_VIEW_COMMANDWELL
Páginas de propiedadesProperty Pages IDG_VS_VIEW_PROPPAGESIDG_VS_VIEW_PROPPAGES
RefreshRefresh IDG_VS_VIEW_REFRESHIDG_VS_VIEW_REFRESH

Grupos de menús del proyectoProject menu groups

AgruparGroup Id.ID
Varios agregarMiscellaneous Add IDG_VS_PROJ_MISCADDIDG_VS_PROJ_MISCADD
AddAdd IDG_VS_PROJ_ADDIDG_VS_PROJ_ADD
CarpetaFolder IDG_VS_PROJ_FOLDERIDG_VS_PROJ_FOLDER
Descarga o recargaUnload/Reload IDG_VS_PROJ_UNLOADRELOADIDG_VS_PROJ_UNLOADRELOAD
ReferenciaReference IDG_VS_PROJ_REFERENCEIDG_VS_PROJ_REFERENCE
OpcionesOptions IDG_VS_PROJ_OPTIONSIDG_VS_PROJ_OPTIONS
ConfiguraciónSettings IDG_VS_PROJ_SETTINGSIDG_VS_PROJ_SETTINGS

Crear grupos de menúsBuild menu groups

AgruparGroup Id.ID
SolucionesSolution IDG_VS_BUILD_SOLUTIONIDG_VS_BUILD_SOLUTION
SelecciónSelection IDG_VS_BUILD_SELECTIONIDG_VS_BUILD_SELECTION
Optimización guiada por perfilesProfile Guided Optimization IDG_VS_PGO_SELECTIONIDG_VS_PGO_SELECTION
VariosMiscellaneous IDG_VS_BUILD_MISCIDG_VS_BUILD_MISC
CancelarCancel IDG_VS_BUILD_CANCELIDG_VS_BUILD_CANCEL

Grupos de menús de herramientasTools menu groups

AgruparGroup Id.ID
Línea de comandosCommand Line IDG_VS_TOOLS_CMDLINEIDG_VS_TOOLS_CMDLINE
Fragmentos de códigoSnippets IDG_VS_TOOLS_SNIPPETSIDG_VS_TOOLS_SNIPPETS
Subconjunto del objetoObject Subset IDG_VS_TOOLS_OBJSUBSETIDG_VS_TOOLS_OBJSUBSET
OpcionesOptions IDG_VS_TOOLS_OPTIONSIDG_VS_TOOLS_OPTIONS
Otros 2Other 2 IDG_VS_TOOLS_OTHER2IDG_VS_TOOLS_OTHER2
Herramientas externasExternal Tools IDG_VS_TOOLS_EXT_TOOLSIDG_VS_TOOLS_EXT_TOOLS
Personalizaciones externasExternal Customizations IDG_VS_TOOLS_EXT_CUSTIDG_VS_TOOLS_EXT_CUST

Grupos de menús de la ventanaWindow menu groups

AgruparGroup Id.ID
NuevoNew IDG_VS_WINDOW_NEWIDG_VS_WINDOW_NEW
Acoplar o cerrarDock/Close IDG_VS_DOCKCLOSEIDG_VS_DOCKCLOSE
Acoplar u ocultarDock/Hide IDG_VS_DOCKHIDEIDG_VS_DOCKHIDE
OrganizarArrange IDG_VS_WINDOW_ARRANGEIDG_VS_WINDOW_ARRANGE
NavegaciónNavigation IDG_VS_WINDOW_NAVIGATIONIDG_VS_WINDOW_NAVIGATION
ListaList IDG_VS_WINDOW_LISTIDG_VS_WINDOW_LIST

Ayudar a los grupos de menúsHelp menu groups

AgruparGroup Id.ID
MuestrasSamples IDG_VS_HELP_SAMPLESIDG_VS_HELP_SAMPLES
CompatibilidadSupport IDG_VS_HELP_SUPPORTIDG_VS_HELP_SUPPORT
Acerca deAbout IDG_VS_HELP_ABOUTIDG_VS_HELP_ABOUT

La jerarquía siguiente muestra los submenús que están asociados con los menús en la barra de menús de Visual Studio.The following hierarchy shows the submenus that are associated with the menus on the Visual Studio menu bar. Dado que sólo un grupo puede tener un menú como su elemento primario, cada submenú debe descienden de un grupo en un menú, en lugar de directamente desde el menú.Because only a group can have a menu as its parent, every submenu must descend from a group on a menu, instead of directly from the menu. Para obtener más información sobre la relación entre los menús, grupos y submenús, consulte agregar un submenú a un menú.For more information about the relationship between menus, groups, and submenus, see Add a submenu to a menu.

Note

Los nombres de los menús en la barra de menús de Visual Studio no se muestran por separado en esta jerarquía ya que se puede deducir de la convención de nomenclatura para los grupos en el IDE, como sigue: IDG_VS_<nombre en el menú>_< Nombre del grupo>.The names of the menus on the Visual Studio menu bar are not separately shown in this hierarchy because they can be inferred from the naming convention for groups in the IDE, as follows: IDG_VS_<Menu Name>_<Group Name>.

Grupo primarioParent group SubmenúSubmenu Grupos secundariosChild groups
IDG_VS_FILE_FILEIDG_VS_FILE_FILE IDM_VS_CSCD_NEWIDM_VS_CSCD_NEW IDG_VS_FILE_NEW_CASCADEIDG_VS_FILE_NEW_CASCADE
IDM_VS_CSCD_OPENIDM_VS_CSCD_OPEN IDG_VS_FILE_OPENP_CASCADEIDG_VS_FILE_OPENP_CASCADE
IDG_VS_FILE_OPENF_CASCADEIDG_VS_FILE_OPENF_CASCADE
IDG_VS_FILE_ADDIDG_VS_FILE_ADD IDM_VS_CSCD_ADDIDM_VS_CSCD_ADD IDG_VS_FILE_ADD_PROJECT_NEWIDG_VS_FILE_ADD_PROJECT_NEW
IDG_VS_FILE_ADD_PROJECT_EXIIDG_VS_FILE_ADD_PROJECT_EXI
IDG_VS_FILE_MRUIDG_VS_FILE_MRU IDM_VS_CSCD_FILEMRUIDM_VS_CSCD_FILEMRU IDG_VS_FILE_FMRU_CASCADEIDG_VS_FILE_FMRU_CASCADE
IDM_VS_CSCD_PROJMRUIDM_VS_CSCD_PROJMRU IDG_VS_FILE_PMRU_CASCADEIDG_VS_FILE_PMRU_CASCADE
IDG_VS_FILE_MOVEIDG_VS_FILE_MOVE IDM_VS_CSCD_MOVETOPRJIDM_VS_CSCD_MOVETOPRJ IDG_VS_FILE_MOVE_CASCADEIDG_VS_FILE_MOVE_CASCADE
IDG_VS_FILE_MOVE_PICKERIDG_VS_FILE_MOVE_PICKER
IDG_VS_VIEW_DEV_WINDOWSIDG_VS_VIEW_DEV_WINDOWS IDM_VS_CSCD_FINDRESULTSIDM_VS_CSCD_FINDRESULTS IDG_VS_WNDO_FINDRESULTSIDG_VS_WNDO_FINDRESULTS
IDM_VS_CSCD_WINDOWSIDM_VS_CSCD_WINDOWS IDG_VS_VIEW_CALLBROWSERIDG_VS_VIEW_CALLBROWSER
IDG_VS_WNDO_OTRWNDWS1... 6IDG_VS_WNDO_OTRWNDWS1...6
IDG_VS_WNDO_WINDOWS2IDG_VS_WNDO_WINDOWS2
IDG_VS_VIEW_TOOLBARSIDG_VS_VIEW_TOOLBARS IDM_VS_CSCD_COMMANDBARSIDM_VS_CSCD_COMMANDBARS
IDG_VS_EDIT_GOTOIDG_VS_EDIT_GOTO IDM_VS_EDITOR_FIND_MENUIDM_VS_EDITOR_FIND_MENU
IDG_VS_EDIT_OBJECTSIDG_VS_EDIT_OBJECTS IDM_VS_CSCD_MNUDESIDM_VS_CSCD_MNUDES IDG_VS_MNUDES_INSERTIDG_VS_MNUDES_INSERT
IDG_VS_MNUDES_EDITNAMESIDG_VS_MNUDES_EDITNAMES
IDM_VS_CSCD_OLEVERBSIDM_VS_CSCD_OLEVERBS IDG_VS_EDIT_OLEVERBSIDG_VS_EDIT_OLEVERBS
IDG_VS_BUILD_SELECTIONIDG_VS_BUILD_SELECTION IDM_VS_CSCD_BUILDIDM_VS_CSCD_BUILD IDG_VS_BUILD_CASCADEIDG_VS_BUILD_CASCADE
IDG_VS_BUILD_PROJPICKERIDG_VS_BUILD_PROJPICKER
IDM_VS_CSCD_REBUILDIDM_VS_CSCD_REBUILD IDG_VS_REBUILD_CASCADEIDG_VS_REBUILD_CASCADE
IDG_VS_REBUILD_PROJPICKERIDG_VS_REBUILD_PROJPICKER
IDM_VS_CSCD_PROJONLYIDM_VS_CSCD_PROJONLY IDG_VS_PROJONLY_CASCADEIDG_VS_PROJONLY_CASCADE
IDM_VS_CSCD_CLEANIDM_VS_CSCD_CLEAN IDG_VS_CLEAN_CASCADEIDG_VS_CLEAN_CASCADE
IDG_VS_CLEAN_PROJPICKERIDG_VS_CLEAN_PROJPICKER
IDM_VS_CSCD_DEPLOYIDM_VS_CSCD_DEPLOY IDG_VS_DEPLOY_CASCADEIDG_VS_DEPLOY_CASCADE
IDG_VS_DEPLOY_PROJPICKERIDG_VS_DEPLOY_PROJPICKER
IDG_VS_PGO_SELECTIONIDG_VS_PGO_SELECTION IDM_VS_CSCD_PGO_BUILDIDM_VS_CSCD_PGO_BUILD IDG_VS_PGO_BUILD_CASCADE_BUILDIDG_VS_PGO_BUILD_CASCADE_BUILD
IDG_VS_PGO_BUILD_CASCADE_RUNIDG_VS_PGO_BUILD_CASCADE_RUN

Vea tambiénSee also

Barras de herramientas de GUID e identificadores de Visual Studio GUIDs and IDs of Visual Studio toolbars
Comandos de GUID e identificadores de Visual Studio GUIDs and IDs of Visual Studio commands
Archivos visuales Studio comando table (.vsct)Visual Studio command table (.vsct) files