GUIDs and IDs of Visual Studio Toolbars

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at GUIDs and IDs of Visual Studio Toolbars.

This topic enumerates the GUID and ID values of the toolbars that are included in the Visual Studio integrated development environment (IDE), and of the groups they contain. These values are defined in .vsct files that are installed as part of the Visual Studio SDK. For more information, see IDE-Defined Commands, Menus, and Groups.

System_CAPS_ICON_note.jpg Note

Many of the toolbars available to Visual Studio are not defined by Visual Studio, and their GUID and ID values are not public. This topic lists only toolbars that are defined in Visual Studio SDK .vsct files.

For more information about how to work with IDE objects that are defined in .vsct files, see Extending Menus and Commands.

The default toolbars provided by the Visual Studio IDE use the GUID guidSHLMainMenu, except where otherwise specified by using GUID:ID syntax.

The following toolbars are provided by the Visual Studio IDE. Toolbars can be displayed by selecting them on the Toolbars submenu of the Tools menu. Toolbars in tool windows are not included in this section.

Only groups can descend directly from toolbars. To add a group, set its parent to the GUID and ID of the toolbar. To add a button to a toolbar, set its parent to a group on the toolbar.

ToolbarID
StandardIDM_VS_TOOL_STANDARD
BuildIDM_VS_TOOL_BUILD
Text EditorIDM_VS_TOOL_TEXTEDITOR
DebugguidVSDebugGroup:IDM_DEBUG_TOOLBAR
Debug LocationguidVSDebugGroup:IDM_DEBUG_CONTEXT_TOOLBAR

Special Toolbars

These toolbars are defined by the Visual Studio IDE, but they serve specialized functions and do not host command groups.

ToolbarID
Add CommandIDM_VS_TOOL_ADDCOMMAND
UndefinedIDM_VS_TOOL_UNDEFINED
XML SchemaIDM_VS_TOOL_SCHEMA
XML DataIDM_VS_TOOL_DATA

To add a button to a standard toolbar, set one of the following groups as its parent. The groups are sorted by parent toolbar.

Standard Toolbar Groups

NameID
Save/OpenIDG_VS_TOOLSB_SAVEOPEN
Cut/CopyIDG_VS_TOOLSB_CUTCOPY
Undo/RedoIDG_VS_TOOLSB_UNDOREDO
Run/BuildIDG_VS_TOOLSB_RUNBUILD
SearchIDG_VS_TOOLSB_SEARCH
WindowsIDG_VS_TOOLSB_WINDOWS
New WindowsIDG_VS_TOOLSB_NEWWINDOWS
Load/SaveIDG_VS_WINDOWUI_LOADSAVE
GaugeIDG_VS_TOOLSB_GAUGE

Build Toolbar Groups

NameID
Build barIDG_VS_BUILDBAR
CancelIDG_VS_BUILD_CANCEL

Text Editor Toolbar Groups

NameID
CompletionIDM_VS_TOOL_TEXTEDITOR
IndentIDG_VS_EDITTOOLBAR_INDENT
CommentIDG_VS_EDITTOOLBAR_COMMENT
BookmarksIDG_VS_EDITTOOLBAR_TEMPBOOKMARKS

Debug Toolbar Groups

NameID
ExecutionIDM_DEBUG_TOOLBAR
SteppingIDG_DEBUG_TOOLBAR_STEPPING
WatchIDG_DEBUG_TOOLBAR_WATCH
WindowsIDG_DEBUG_TOOLBAR_WINDOWS

Debug Location Toolbar Groups

NameID
Debug locationIDG_DEBUG_CONTEXT_TOOLBAR

Toolbars can appear directly in the IDE or in tool windows such as Solution Explorer. Because tool windows are not defined in .vsct files, tool window toolbars do not have defined parents. Instead, they are placed in code. The following table shows the toolbars that appear on tool windows in the IDE, and the command groups they contain.

System_CAPS_ICON_note.jpg Note

Toolbars and groups use the GUID guidSHLMainMenu, except where otherwise specified by using GUID:ID syntax. Where a GUID is specified for a toolbar, it also applies to the groups that descend from that toolbar.

Tool WindowToolbarGroups
Solution ExplorerIDM_VS_TOOL_PROJWINIDG_VS_PROJ_TOOLBAR1..5
Server Explorerguid_SE_MenuGroup:IDM_SE_TOOLBAR_SERVEREXPLORERIDG_SE_TOOLBAR_REFRESH
PropertiesIDM_VS_TOOL_PROPERTIESIDG_VS_PROPERTIES_SORT

IDG_VS_PROPERTIES_PAGES
Class ViewIDM_VS_TOOL_CLASSVIEWIDG_VS_CLASSVIEW_FOLDERS

IDG_VS_CLASSVIEW_SEARCH

IDG_VS_CLASSVIEW_SETTINGS
Class ViewIDM_VS_TOOL_CLASSVIEW_GOIDG_VS_CLASSVIEW_SEARCH2
Object BrowserIDM_VS_TOOL_OBJBROWSERIDG_VS_OBJBROWSER_SUBSETS

IDG_VS_OBJBROWSER_SEARCH

IDG_VS_OBJBROWSER_ADDREFERENCE

IDG_VS_OBJBROWSER_BROWSERSETTINGS
Object BrowserIDM_VS_TOOL_OBJECT_BROWSER_GOIDG_VS_OBJBROWSER_SEARCH2
OutputIDM_VS_TOOL_OUTPUTWINDOWIDG_VS_OUTPUTWINDOW_SELECT

IDG_VS_OUTPUTWINDOW_GOTO

IDG_VS_OUTPUTWINDOW_NEXTPREV

IDG_VS_OUTPUTWINDOW_CLEAR

IDG_VS_OUTPUTWINDOW_WORDWRAP
Find and ReplaceIDM_VS_TOOL_UNIFIEDFINDIDG_VS_FINDTAB

IDG_VS_REPLACETAB
Find Results 1IDM_VS_TOOL_FINDRESULTS1IDG_VS_FINDRESULTS1_GOTO

IDG_VS_FINDRESULTS1_NEXTPREV

IDG_VS_FINDRESULTS1_CLEAR

IDG_VS_FINDRESULTS1_STOPFIND
Find Results 2IDM_VS_TOOL_FINDRESULTS2IDG_VS_FINDRESULTS2_GOTO

IDG_VS_FINDRESULTS2_NEXTPREV

IDG_VS_FINDRESULTS2_CLEAR

IDG_VS_FINDRESULTS2_STOPFIND
SnippetIDM_VS_TOOL_SNIPPETMENUSIDG_VS_SNIPPET_REPL

IDG_VS_SNIPPET_REF

IDG_VS_SNIPPET_PROP
BookmarksIDM_VS_TOOL_BOOKMARKWINDIDG_VS_BWNEWFOLDER

IDG_VS_BWNEXTBM

IDG_VS_BWNEXTBMF

IDG_VS_BWENABLE

IDG_VS_BWDELETE
Task ListIDM_VS_TOOL_TASKLISTIDG_VS_TASKLIST_PROVIDERLIST
User TasksIDM_VS_TOOL_USERTASKSIDG_VS_TASKLIST_PROVIDERLIST

IDG_VS_USERTASKS_EDIT
Error ListIDM_VS_TOOL_ERRORLISTIDG_VS_ERRORLIST_ERRORGROUP

IDG_VS_ERRORLIST_WARNINGGROUP

IDG_VS_ERRORLIST_MESSAGEGROUP
Call BrowserIDM_VS_TOOL_CALLBROWSER1..16IDG_VS_TOOLBAR_CALLBROWSER1_ACTIONS

IDG_VS_TOOLBAR_CALLBROWSER1_TYPE

IDG_VS_TOOLBAR_CALLBROWSER1_CBSETTINGS
BreakpointsguidVSDebugGroup:IDM_BREAKPOINTS_WINDOW_TOOLBARIDG_BREAKPOINTS_WINDOW_NEW

IDG_BREAKPOINTS_WINDOW_DELETE

IDG_BREAKPOINTS_WINDOW_ALL

IDG_BREAKPOINTS_WINDOW_VIEW

IDG_BREAKPOINTS_WINDOW_EDIT

IDG_BREAKPOINTS_WINDOW_COLUMNS
DisassemblyguidVSDebugGroup:IDM_DISASM_WINDOW_TOOLBARIDG_DISASM_WINDOW_TOOLBAR
Memory 1-4guidVSDebugGroup:IDM_MEMORY_WINDOW_TOOLBAR1…4IDG_MEMORY_EXPRESSION1..4

IDG_MEMORY_COLUMNS1..4
ProcessesguidVSDebugGroup:IDM_ATTACHED_PROCS_TOOLBARIDG_ATTACHED_PROCS_EXECCNTRL IDG_ATTACHED_PROCS_STEPPING

IDG_ATTACHED_PROCS_EXECCNTRL2

IDG_ATTACHED_PROCS_ATTACH

IDG_ATTACHED_PROCS_COLUMNS

Adding a Menu Controller to a Toolbar
Adding a Toolbar to a Tool Window
GUIDs and IDs of Visual Studio Menus

Show: