Pre-defined Keyboard Shortcuts
The Visual Studio integrated development environment (IDE) includes several pre-defined keyboard shortcut schemes. When you start Visual Studio for the first time and select your settings, the associated schemes are automatically set. Thereafter, by using the keyboard options page in the Options dialog box, you can choose from additional schemes and you can also create your own keyboard shortcuts.
This topic shows the keyboard shortcut schemes that pertain to .NET Framework development and Web development.
Table of Contents
These shortcuts work in both designers and editors.
Command | Visual Basic 6 Scheme | Visual Studio 6 Scheme | Visual C# 2005 Scheme | Visual C++ 6, Visual C++ 2 Schemes |
---|---|---|---|---|
Edit.Copy | CTRL+C or CTRL+INSERT | CTRL+C or CTRL+INSERT | CTRL+C or CTRL+INSERT | CTRL+C or CTRL+INSERT |
Edit.Cut | CTRL+X or SHIFT+DELETE | CTRL+X or SHIFT+DELETE | CTRL+X or SHIFT+DELETE | CTRL+X or SHIFT+DELETE |
Edit.CycleClipboardRing | CTRL+SHIFT+V or CTRL+SHIFT+INSERT | CTRL+SHIFT+V or CTRL+SHIFT+INSERT | CTRL+SHIFT+V or CTRL+SHIFT+INSERT | CTRL+SHIFT+V or CTRL+SHIFT+INSERT |
Edit.Delete | DELETE | DELETE | DELETE | DELETE |
Edit.Find | CTRL+F | CTRL+F | CTRL+F | CTRL+F |
Edit.FindAllReferences | ALT+F2 |
| CTRL+K, R or SHIFT+F12 | SHIFT+F12 or CTRL+K, R or CTRL+K, CTRL+R (Visual C++ 6 scheme only) |
Edit.FindinFiles | CTRL+SHIFT+F |
| CTRL+SHIFT+F | CTRL+SHIFT+F |
Edit.FindNext | F3 | F3 | F3 | F3 |
Edit.FindNextSelected | CTRL+F3 | CTRL+F3 | CTRL+F3 | CTRL+F3 |
Edit.FindPrevious | SHIFT+F3 | SHIFT+F3 | SHIFT+F3 | SHIFT+F3 |
Edit.FindPreviousSelected | CTRL+SHIFT+F3 | CTRL+SHIFT+F3 | CTRL+SHIFT+F3 | CTRL+SHIFT+F3 |
FindSymbol | ALT+F12 | ALT+F12 | ALT+F12 | ALT+F12 |
Edit.GoToFindCombo |
| CTRL+SHIFT+F | CTRL+/ | CTRL+/ (Visual C++ 6 scheme)CTRL + D (Visual C++ 2 scheme) |
Edit.IncrementalSearch | ALT+I |
| CTRL+I |
|
Edit.Paste | CTRL+V or SHIFT+INSERT | CTRL+V or SHIFT+INSERT | CTRL+V or SHIFT+INSERT | CTRL+V or SHIFT+INSERT |
Edit.QuickFindSymbol | SHIFT+ALT+F12 | SHIFT+ALT+F12 | SHIFT+ALT+F12 |
|
Edit.NavigateTo | CTRL+, | CTRL+, | CTRL+, | CTRL+, |
Edit.Redo | SHIFT+ALT+BACKSPACE or CTRL+SHIFT+Z | CTRL+Y or SHIFT+ALT+BACKSPACE or CTRL+SHIFT+Z | CTRL+Y or SHIFT+ALT+BACKSPACE or CTRL+SHIFT+Z | CTRL+Y or SHIFT+ALT+BACKSPACE or CTRL+SHIFT+Z |
Edit.Replace | CTRL+H | CTRL+H | CTRL+H | CTRL+H |
Edit.ReplaceinFiles | CTRL+SHIFT+H | CTRL+SHIFT+H | CTRL+SHIFT+H | CTRL+SHIFT+H |
Edit.SelectAll | CTRL+A | CTRL+A | CTRL+A | CTRL+A |
Edit.StopSearch | ALT+F3, S | ALT+F3, S | ALT+F3, S | ALT+F3, S |
Edit.Undo | CTRL+Z or ALT+BACKSPACE | CTRL+Z or ALT+BACKSPACE | CTRL+Z or ALT+BACKSPACE | CTRL+Z or ALT+BACKSPACE |
View.ViewCode | F7 | F7 | F7 | F7 |
View.ViewDesigner | SHIFT+F7 | SHIFT+F7 | SHIFT+F7 | SHIFT+F7 (Visual C++ 6 scheme only) |
The shortcuts in this section work in designers. Editor shortcuts may also work in designers that include text, for example, the Report designer.
These shortcuts work in designers, for moving, selecting, and changing the size of controls.
Command | Description | All Keyboard Schemes |
---|---|---|
Edit.MoveControlDown | Moves the selected control down in increments of 1 pixel on the design surface. | CTRL+DOWN ARROW |
Edit.MoveControlDownGrid | Moves the selected control down to the next preset grid position on the design surface. | DOWN ARROW |
Edit.MoveControlLeft | Moves the control to the left in increments of 1 pixel on the design surface. | CTRL+LEFT ARROW |
Edit.MoveControlLeftGrid | Moves the control to the left to the next preset grid position on the design surface. | LEFT ARROW |
Edit.MoveControlRight | Moves the control to the right in increments of 1 pixel on the design surface. | CTRL+RIGHT ARROW |
Edit.MoveControlRightGrid | Moves the control to the right to the next preset grid position on the design surface. | RIGHT ARROW |
Edit.MoveControlUp | Moves the control up in increments of 1 pixel on the design surface. | CTRL+UP ARROW |
Edit.MoveControlUpGrid | Moves the control up in increments of 8 pixels on the design surface. | UP ARROW |
Edit.SelectNextControl | Moves to the next control on the page based on the property of the control. | TAB |
Edit.SelectPreviousControl | Moves back to the previously selected control on the page. | SHIFT+TAB |
Edit.ShowTileGrid | Displays the grid on the design surface. | ENTER |
Edit.SizeControlDown | Expands the control downward in increments of 1 pixel on the design surface. | CTRL+SHIFT+DOWN ARROW |
Edit.SizeControlDownGrid | Expands the control downward to the next preset grid position on the design surface. | SHIFT+DOWN ARROW |
Edit.SizeControlLeft | Expands the control to the left in increments of 1 pixel on the design surface. | CTRL+SHIFT+LEFT ARROW |
Edit.SizeControlLeftGrid | Expands the control to the left to the next preset grid position on the design surface. | SHIFT+LEFT ARROW |
Edit.SizeControlRight | Expands the control to the right in increments of 1 pixel on the design surface. | CTRL+SHIFT+RIGHT ARROW |
Edit.SizeControlRightGrid | Expands the control to the right to the next preset grid position on the design surface. | SHIFT+RIGHT ARROW |
Edit.SizeControlUp | Expands the control upward in increments of 1 pixel on the design surface. | CTRL+SHIFT+UP ARROW |
Edit.SizeControlUpGrid | Expands the control upward to the next preset grid position on the design surface. | SHIFT+UP ARROW |
View.ShowSmartTag | Displays the available options on the smart tag menu. | SHIFT+ALT+F10 or CTRL+. |
These shortcuts only work in the HTML Designer, and certain shortcuts are available only in a specific view. Text Navigation shortcuts, Text Selection shortcuts, and Text Manipulation shortcuts, which are listed later in this topic, may also be used in the HTML Designer.
Command | Description | All Keyboard Schemes |
---|---|---|
Format.Bold | Toggles the selected text between bold and plain. Available only in Design view. | CTRL+B |
Format.ConverttoHyperlink | When text is selected, displays the Hyperlink dialog box. Available only in Design view. | CTRL+L |
Format.InsertBookmark | Displays the Bookmark dialog box. Available only in Design view. | CTRL+SHIFT+L |
Format.Italic | Toggles the selected text between italic and plain. Available only in Design view. | CTRL+I |
Format.Underline | Toggles the selected text between underlined and plain. Available only in Design view. | CTRL+U |
Project.AddContentPage | Adds a new *.aspx file to the Web site and opens the file in the HTML Designer. Available only in Design view. | CTRL+M, CTRL+C |
Table.ColumntotheLeft | Adds one column to the left of the current column in the table. Available only in Design view. | CTRL+ALT+LEFT ARROW |
Table.ColumntotheRight | Adds one column to the right of the current column in the table. Available only in Design view. | CTRL+ALT+RIGHT ARROW |
Table.RowAbove | Adds one row above the current row in the table. Available only in Design view. | CTRL+ALT+UP ARROW |
Table.RowBelow | Adds one row below the current row in the table. Available only in Design view. | CTRL+ALT+DOWN ARROW |
View.ASP.NETNonvisualControls | Toggles the visibility of non-visual controls on the design surface. | CTRL+SHIFT+N |
View.EditMaster | Opens the *.master file in Source view. Available only in Design view. | CTRL+M, CTRL+M |
View.NextView | Switches among Design view, Source view, and Server Code view for the current document. Available in all views. | CTRL+PAGE DOWN |
View.ShowSmartTag | Displays the available options on the smart tag menu. | SHIFT+ALT+F10 or CTRL+. CTRL+J (Visual Studio 6 scheme only) |
View.ViewMarkup | Switches to Source view for the current document. Available only in Design view. | SHIFT+F7 |
Window.PreviousTab | Switches among Design view, Source view, and Server Code view for the current document. Available in all views. | CTRL+PAGE UP |
These shortcuts are specific to the Settings Designer.
Command | Description | All Keyboard Schemes |
---|---|---|
Edit.EditCell | Displays the selected cell in Edit mode. | F2 |
Edit.RemoveRow | Removes the selected row. | CTRL+DELETE |
Edit.SelectionCancel | Cancels the current selection. | ESC |
View.ViewCode | Switches to Code view. | F7 |
Command | Description | All Keyboard Schemes |
---|---|---|
OtherContextMenus.GraphView.RemovefromWorkspace | Removes the selected item from the workspace. | DELETE |
XsdDesigner.ShowContentModelView | Displays the current XML schema in Content ModelView. | CTRL+2 |
XsdDesigner.ShowGraphView | Displays the current XML schema in Graph View. | CTRL+3 |
XsdDesigner.ShowStartView | Displays the current XML schema in Start View. | CTRL+1 |
The shortcuts in this section work in text editors.
These shortcuts are for moving around in an open document.
Command | Visual Basic 6 Scheme | Visual Studio 6 Scheme | Visual C# 2005 Scheme | Visual C++ 6, Visual C++ 2 Schemes |
---|---|---|---|---|
Edit.CharLeft | LEFT ARROW | LEFT ARROW | LEFT ARROW | LEFT ARROW |
Edit.CharRight | RIGHT ARROW | RIGHT ARROW | RIGHT ARROW | RIGHT ARROW |
Edit.DocumentEnd | CTRL+END or END | CTRL+END or END | CTRL+END or END | END |
Edit.DocumentStart | CTRL+HOME or HOME | CTRL+HOME or HOME | CTRL+HOME or HOME | HOME |
Edit.GoTo |
| CTRL+G | CTRL+G | CTRL + G |
Edit.GoToBrace |
| CTRL+] | CTRL+] | CTRL+] |
Edit.GoToDeclaration | CTRL+F12 | CTRL+F12 | CTRL+F12 | CTRL + ALT + F12 |
Edit.GoToDefinition | F12 or SHIFT+F2 |
| F12 | F12 |
Edit.GoToNextLocation |
| F8 or F12 | F8 | F4 |
Edit.GoToPrevLocation |
| SHIFT+F8 or SHIFT+F12 | SHIFT+F8 | SHIFT + F4 |
Edit.GoToReference | SHIFT+F12 |
|
| SHIFT + F12 |
Edit.IncrementalSearch | ALT+I |
| CTRL+I | CTRL + I |
Edit.LineDown | DOWN ARROW | DOWN ARROW | DOWN ARROW | DOWN ARROW |
Edit.LineEnd | END | END | END | END |
Edit.LineStart | HOME | HOME | HOME | HOME |
Edit.LineUp | UP ARROW | UP ARROW | UP ARROW | UP ARROW |
Edit.NextBookmark | CTRL+K, N | CTRL+K, CTRL+N | CTRL+B, N | F2 |
Edit.NextBookmarkInFolder | CTRL+SHIFT+K, CTRL+SHIFT+N | CTRL+SHIFT+K, CTRL+SHIFT+N |
| CTRL+SHIFT+K, CTRL+SHIFT+N |
Edit.NextHighlightedReference | CTRL+SHIFT+DOWN ARROW | CTRL+SHIFT+DOWN ARROW | CTRL+SHIFT+DOWN ARROW | CTRL+SHIFT+DOWN ARROW |
Edit.NextMethod | CTRL+PAGE DOWN or CTRL+DOWN ARROW |
|
|
|
Edit.PageDown | PAGE DOWN | PAGE DOWN | PAGE DOWN | PAGE DOWN |
Edit.PageUp | PAGE UP | PAGE UP | PAGE UP | PAGE UP |
Edit.PreviousBookmark | CTRL+K, P | CTRL+K, CTRL+P | CTRL+B, P | SHIFT + F2 |
Edit.PreviousBookmarkInFolder | CTRL+SHIFT+K, CTRL+SHIFT+P | CTRL+SHIFT+K, CTRL+SHIFT+P |
| CTRL+SHIFT+K, CTRL+SHIFT+P |
Edit.PreviousHighlightedReference | CTRL+SHIFT+UP ARROW | CTRL+SHIFT+UP ARROW | CTRL+SHIFT+UP ARROW | CTRL+SHIFT+UP ARROW |
Edit.PreviousMethod | CTRL+PAGE UP or CTRL+UP ARROW |
|
|
|
Edit.QuickInfo | CTRL+I | CTRL+I | CTRL+K, CTRL+I | CTRL+K, CTRL+I |
Edit.ReverseIncrementalSearch | SHIFT+ALT+I |
| CTRL+SHIFT+I | CTRL+SHIFT+I |
Edit.ScrollLineDown | CTRL+DOWN ARROW | CTRL+DOWN ARROW | CTRL+DOWN ARROW | CTRL+DOWN ARROW |
Edit.ScrollLineUp | CTRL+UP ARROW | CTRL+UP ARROW | CTRL+UP ARROW | CTRL+UP ARROW |
Edit.ViewBottom |
| CTRL+PAGE DOWN | CTRL+PAGE DOWN | CTRL+PAGE DOWN |
Edit.ViewTop |
| CTRL+PAGE UP | CTRL+PAGE UP | CTRL+PAGE UP |
Edit.WordNext | CTRL+RIGHT ARROW | CTRL+RIGHT ARROW | CTRL+RIGHT ARROW | CTRL+RIGHT ARROW |
Edit.WordPrevious | CTRL+LEFT ARROW | CTRL+LEFT ARROW | CTRL+LEFT ARROW | CTRL+LEFT ARROW |
View.BrowseNext |
| CTRL+SHIFT+1 | CTRL+SHIFT+1 | CTRL + NUM (+) |
View.BrowsePrevious |
| CTRL+SHIFT+2 | CTRL+SHIFT+2 | CTRL + NUM (-) |
View.ForwardBrowseContext | CTRL+SHIFT+7 | CTRL+SHIFT+7 | CTRL+SHIFT+7 | CTRL+SHIFT+7 |
View.NavigateBackward | CTRL+SHIFT+2 or CTRL+- | CTRL+- | CTRL+- | CTRL+- |
View.NavigateForward | CTRL+SHIFT+- | CTRL+SHIFT+- | CTRL+SHIFT+- | CTRL+SHIFT+- |
View.NextError |
| CTRL+SHIFT+F12 | CTRL+SHIFT+F12 | CTRL+SHIFT+F12 |
View.NextTask | CTRL+SHIFT+F12 |
|
|
|
View.PopBrowseContext |
| CTRL+SHIFT+8 | CTRL+SHIFT+8 | CTRL + NUM (*) |
Window.NextSplitPane | F6 | F6 |
| F6 |
These shortcuts are for selecting text in an open document.
Command | Visual Studio 6 Scheme | Visual Basic 6 Scheme | Visual C# 2005 Scheme | Visual C++ 6, Visual C++ 2 Schemes |
---|---|---|---|---|
Edit.CharLeftExtend | SHIFT+LEFT ARROW | SHIFT+LEFT ARROW | SHIFT+LEFT ARROW | SHIFT+LEFT ARROW |
Edit.CharLeftExtendColumn | SHIFT+ALT+LEFT ARROW | SHIFT+ALT+LEFT ARROW | SHIFT+ALT+LEFT ARROW | SHIFT+ALT+LEFT ARROW |
Edit.CharRightExtend | SHIFT+RIGHT ARROW | SHIFT+RIGHT ARROW | SHIFT+RIGHT ARROW | SHIFT+RIGHT ARROW |
Edit.CharRightExtendColumn | SHIFT+ALT+RIGHT ARROW | SHIFT+ALT+RIGHT ARROW | SHIFT+ALT+RIGHT ARROW | SHIFT+ALT+RIGHT ARROW |
Edit.DocumentEndExtend | CTRL+SHIFT+END or SHIFT+END | CTRL+SHIFT+END or SHIFT+END | CTRL+SHIFT+END or SHIFT+END | SHIFT+END |
Edit.DocumentStartExtend | CTRL+SHIFT+HOME or SHIFT+HOME | CTRL+SHIFT+HOME or SHIFT+HOME | CTRL+SHIFT+HOME or SHIFT+HOME | SHIFT+HOME |
Edit.GotoBraceExtend | CTRL+SHIFT+] |
| CTRL+SHIFT+] | CTRL+SHIFT+] |
Edit.LineDownExtend | SHIFT+DOWN ARROW or SHIFT+UP ARROW | SHIFT+DOWN ARROW or SHIFT+UP ARROW | SHIFT+DOWN ARROW or SHIFT+UP ARROW | SHIFT+DOWN ARROW |
Edit.LineDownExtendColumn | SHIFT+ALT+DOWN ARROW | SHIFT+ALT+DOWN ARROW | SHIFT+ALT+DOWN ARROW | SHIFT+ALT+DOWN ARROW |
Edit.LineEndExtend | SHIFT+END | SHIFT+END | SHIFT+END | SHIFT+END |
Edit.LineEndExtendColumn | SHIFT+ALT+END | SHIFT+ALT+END | SHIFT+ALT+END | SHIFT+ALT+END |
Edit.LineStartExtend | SHIFT+HOME | SHIFT+HOME | SHIFT+HOME | SHIFT+HOME |
Edit.LineStartExtendColumn | SHIFT+ALT+HOME | SHIFT+ALT+HOME | SHIFT+ALT+HOME | SHIFT+ALT+HOME |
Edit.LineUpExtend | SHIFT+UP ARROW or SHIFT+DOWN ARROW | SHIFT+UP ARROW or SHIFT+DOWN ARROW | SHIFT+UP ARROW or SHIFT+DOWN ARROW | SHIFT+UP ARROW |
Edit.LineUpExtendColumn | SHIFT+ALT+UP ARROW | SHIFT+ALT+UP ARROW | SHIFT+ALT+UP ARROW | SHIFT+ALT+UP ARROW |
Edit.PageDownExtend | SHIFT+PAGE DOWN | SHIFT+PAGE DOWN | SHIFT+PAGE DOWN | SHIFT+PAGE DOWN |
Edit.PageUpExtend | SHIFT+PAGE UP | SHIFT+PAGE UP | SHIFT+PAGE UP | SHIFT+PAGE UP |
Edit.SelectCurrentWord | CTRL+W | CTRL+SHIFT+W | CTRL+SHIFT+W | CTRL+W |
Edit.SelectionCancel | ESC | ESC | ESC | ESC |
Edit.SelectToLastGoBack | CTRL+= | CTRL+= | CTRL+= | CTRL+= |
Edit.ViewBottomExtend | CTRL+SHIFT+PAGE DOWN |
|
| CTRL+SHIFT+PAGE DOWN |
Edit.ViewTopExtend | CTRL+SHIFT+PAGE UP |
|
| CTRL+SHIFT+PAGE UP |
Edit.WordNextExtend | CTRL+SHIFT+RIGHT ARROW | CTRL+SHIFT+RIGHT ARROW | CTRL+SHIFT+RIGHT ARROW | CTRL+SHIFT+RIGHT ARROW |
Edit.WordNextExtendColumn | CTRL+SHIFT+ALT+RIGHT ARROW | CTRL+SHIFT+ALT+RIGHT ARROW | CTRL+SHIFT+ALT+RIGHT ARROW | CTRL+SHIFT+ALT+RIGHT ARROW |
Edit.WordPreviousExtend | CTRL+SHIFT+LEFT ARROW | CTRL+SHIFT+LEFT ARROW | CTRL+SHIFT+LEFT ARROW | CTRL+SHIFT+LEFT ARROW |
Edit.WordPreviousExtendColumn | CTRL+SHIFT+ALT+LEFT ARROW | CTRL+SHIFT+ALT+LEFT ARROW | CTRL+SHIFT+ALT+LEFT ARROW | CTRL+SHIFT+ALT+LEFT ARROW |
These shortcuts are for changing how text is displayed without changing the text itself, for example, by hiding a selected area or by outlining methods.
Command | Visual Basic 6 Scheme | Visual Studio 6 Scheme | Visual C# 2005 Scheme | Visual C++ 6, Visual C++ 2 Schemes |
---|---|---|---|---|
Edit.ClearBookmarks | CTRL+K, CTRL+L | CTRL+K, CTRL+L | CTRL+K, CTRL+L | CTRL + SHIFT + F2 |
Edit.CollapseAllOutlining | CTRL+M, CTRL+A |
| CTRL+M, CTRL+A | CTRL+M, CTRL+A |
Edit.CollapseCurrentRegion | CTRL+M, CTRL+S |
| CTRL+M, CTRL+S | CTRL+M, CTRL+S |
Edit.CollapseTag | CTRL+M, CTRL+T |
| CTRL+M, CTRL+T | CTRL+M, CTRL+T |
Edit.CollapsetoDefinitions | CTRL+M, CTRL+O |
| CTRL+M, CTRL+O | CTRL+M, CTRL+O |
Edit.DecreaseFilterLevel | ALT+, | ALT+, | ALT+, | ALT+, |
Edit.ExpandAllOutlining | CTRL+M, CTRL+X |
| CTRL+M, CTRL+X | CTRL+M, CTRL+X |
Edit.ExpandCurrentRegion | CTRL+M, CTRL+E |
| CTRL+M, CTRL+E | CTRL+M, CTRL+E |
Edit.HideSelection | CTRL+M, CTRL+H |
| CTRL+M, CTRL+H | CTRL+M, CTRL+H |
Edit.IncreaseFilterLevel | ALT+. | ALT+. | ALT+. | ALT+. |
Edit.StopHidingCurrent | CTRL+M, CTRL+U |
| CTRL+M, CTRL+U | CTRL+M, CTRL+U |
Edit.StopOutlining | CTRL+M, CTRL+P |
| CTRL+M, CTRL+P | CTRL+M, CTRL+P |
Edit.ToggleAllOutlining | CTRL+M, CTRL+L |
|
| CTRL+M, CTRL+L |
Edit.ToggleBookmark | CTRL+K, CTRL+K or CTRL+K, T | CTRL+K, CTRL+K | CTRL+K, CTRL+K or CTRL+T, B | CTRL+F2 |
Edit.ToggleCompletionMode | CTRL+ALT+SPACEBAR | CTRL+ALT+SPACEBAR | CTRL+ALT+SPACEBAR | CTRL+ALT+SPACEBAR |
Edit.ToggleOutliningExpansion | CTRL+M, CTRL+M |
| CTRL+M, CTRL+M or CTRL+E, T | CTRL+M, CTRL+M |
Edit.ToggleTaskListShortcut | CTRL+K, CTRL+H | CTRL+K, CTRL+H | CTRL+K, CTRL+H | CTRL+K, CTRL+H |
Edit.ToggleWordWrap |
| CTRL+E, CTRL+W |
| CTRL+E, CTRL+W |
Edit.ViewWhiteSpace |
| CTRL+R, CTRL+W |
| CTRL+SHIFT+8 (Visual C++6 scheme) CTRL+ALT+T (Visual C++ 2 scheme) |
These shortcuts are for deleting, moving, or formatting text in an open document.
Command | Visual Basic 6 Scheme | Visual Studio 6 Scheme | Visual C# 2005 Scheme | Visual C++ 6, Visual C++ 2 Schemes |
---|---|---|---|---|
Edit.BreakLine | ENTER or SHIFT+ENTER | ENTER or SHIFT+ENTER | ENTER or SHIFT+ENTER | SHIFT+ENTER |
Edit.CharTranspose |
| CTRL+T | CTRL+T | CTRL+T |
Edit.CommentSelection | CTRL+K, CTRL+C | CTRL+K, CTRL+C | CTRL+K, CTRL+C or CTRL+E, C | CTRL+K, CTRL+C (Visual C++6 scheme only) |
Edit.CompleteWord | ALT+RIGHT ARROW or CTRL+SPACEBAR | ALT+RIGHT ARROW or CTRL+SPACEBAR | ALT+RIGHT ARROW or CTRL+SPACEBAR or CTRL+K, W | ALT+RIGHT ARROW or CTRL+SPACEBAR |
Edit.CopyParameterTip | CTRL+SHIFT+ALT+C | CTRL+SHIFT+ALT+C | CTRL+SHIFT+ALT+C | CTRL+SHIFT+ALT+C |
Edit.DeleteBackwards | BACKSPACE or SHIFT+BACKSPACE | BACKSPACE or SHIFT+BACKSPACE | BACKSPACE or SHIFT+BACKSPACE | SHIFT+BACKSPACE |
Edit.DeleteHorizontalWhiteSpace | CTRL+K, CTRL+\ | CTRL+K, CTRL+\ | CTRL+K, CTRL+\ or CTRL+E,/ | CTRL+K, CTRL+\ (Visual C++ 6 scheme only) |
Edit.FormatDocument | CTRL+K, CTRL+D | CTRL+K, CTRL+D | CTRL+K, CTRL+D or CTRL+E, D | CTRL+K, CTRL+D (Visual C++ 6 scheme only) |
Edit.FormatSelection | CTRL+K, CTRL+F | ALT+F8 or CTRL+K, CTRL+F | CTRL+E, F or CTRL+K, CTRL+F | CTRL+ALT+I or CTRL+SHIFT+F (Visual C++ 2 scheme) ALT+F8 (Visual C++ 6 scheme) |
View.ShowSmartTag | CTRL+. | CTRL+. | CTRL+. | CTRL+. |
Edit.InsertSnippet | CTRL+K, CTRL+X | CTRL+K, CTRL+X | CTRL+K, CTRL+X | CTRL+K, CTRL+X (Visual C++6 scheme only) |
Edit.InsertTab | TAB | TAB | TAB | TAB |
Edit.LineCut | CTRL+Y | CTRL+L or CTRL+M | CTRL+L | CTRL+Y (Visual C++ 2 scheme) SHIFT+ALT+L (Visual C++ 6 scheme) |
Edit.LineDelete |
| CTRL+SHIFT+L or CTRL+SHIFT+M | CTRL+SHIFT+L | CTRL+SHIFT+L |
Edit.LineOpenAbove | CTRL+ENTER | CTRL+ENTER | CTRL+ENTER | CTRL+ENTER |
Edit.LineOpenBelow | CTRL+SHIFT+ENTER | CTRL+SHIFT+ENTER | CTRL+SHIFT+ENTER | CTRL+SHIFT+ENTER |
Edit.LineTranspose | SHIFT+ALT+T | SHIFT+ALT+T | SHIFT+ALT+T | SHIFT+ALT+T |
Edit.ListMembers | CTRL+J or CTRL+K, CTRL+L | CTRL+J or CTRL+K, CTRL+L | CTRL+J or CTRL+K, CTRL+L | CTRL+ALT+T |
Edit.MakeLowercase | CTRL+U | CTRL+U | CTRL+U | CTRL+U |
Edit.MakeUppercase | CTRL+SHIFT+U | CTRL+SHIFT+U | CTRL+SHIFT+U | CTRL+SHIFT+U |
Edit.OvertypeMode | INSERT | INSERT | INSERT | INSERT |
Edit.ParameterInfo | CTRL+SHIFT+SPACEBAR or CTRL+SHIFT+I or CTRL+K, CTRL+P | CTRL+SHIFT+SPACEBAR or CTRL+SHIFT+I or CTRL+K, CTRL+P or CTRL+I | CTRL+SHIFT+SPACEBAR or CTRL+K, P | CTRL+SHIFT+SPACEBAR |
Edit.PasteParameterTip |
| CTRL+SHIFT+ALT+P | CTRL+SHIFT+ALT+P | CTRL+SHIFT+ALT+P |
Edit.SurroundWith | CTRL+K, CTRL+S | CTRL+K, CTRL+S | CTRL+K, S | CTRL+K, CTRL+S (Visual C++ 6 scheme only) |
Edit.SwapAnchor | CTRL+K, CTRL+A | CTRL+K, CTRL+A | CTRL+K, CTRL+A or CTRL+E, A | CTRL+SHIFT+X (Visual C++ 2 scheme) CTRL+K, CTRL+A (Visual C++ 6 scheme) |
Edit.TabifySelectedLines |
| CTRL+Q |
|
|
Edit.TabLeft | SHIFT+TAB | SHIFT+TAB | SHIFT+TAB | SHIFT+TAB |
Edit.UncommentSelection | CTRL+K, CTRL+U | CTRL+K, CTRL+U | CTRL+K, CTRL+U or CTRL+E, U | CTRL+K, CTRL+U (Visual C++ 6 scheme only) |
Edit.UntabifySelectedLines |
| CTRL+SHIFT+Q |
|
|
Edit.WordDeleteToEnd | CTRL+DELETE | CTRL+DELETE | CTRL+DELETE | CTRL+DELETE |
Edit.WordDeleteToStart | CTRL+BACKSPACE | CTRL+BACKSPACE | CTRL+BACKSPACE | CTRL+BACKSPACE |
Edit.WordTranspose | CTRL+SHIFT+T | CTRL+SHIFT+T | CTRL+SHIFT+T | CTRL+SHIFT+T |
Refactor.Rename |
| CTRL+R, CTRL+R | F2 or CTRL+R, CTRL+R | CTRL+R, CTRL+R (Visual C++ 6 scheme only) |
View.AutoCloseTagOverride | CTRL+SHIFT+. | CTRL+SHIFT+. | CTRL+SHIFT+. | CTRL+ALT+. |
These shortcuts are for working with data in the IDE.
Command | Description | All Keyboard Schemes |
---|---|---|
OtherContextMenus.DbTableContext.Add.Column | Adds a new data column to the bottom of the data set. Available only in the Dataset Editor. | CTRL+L |
OtherContextMenus.ColumnContext.InsertColumn | Inserts a new data column above the selected column in the data set. Available only in the Dataset Editor. | INSERT |
View.DataSources | Displays the Data Sources window. | SHIFT+ALT+D |
SQL.ExecutablewithDebugger | Steps into debug mode for the currently active database object. | ALT+F5 |
QueryDesigner.CancelRetrievingData | Cancels or stops the currently running query. Available only in the Query and View Designer. | CTRL+T |
QueryDesigner.Criteria | Displays the Criteria pane of the Query and View Designer. Available only in the Query and View Designer. | CTRL+2 |
QueryDesigner.Diagram | Displays the Diagram pane of the Query and View Designer. Available only in the Query and View Designer. | CTRL+1 |
QueryDesigner.ExecuteSQL | Executes the query. Available only in the Query and View Designer. | CTRL+R |
QueryDesigner.GoToRow | When in the Results pane, moves focus to the tool strip docked at the bottom of the designer. Available only in the Query and View Designer. | CTRL+G |
QueryDesigner.JoinMode | Enables JOIN mode. Available only in the Query and View Designer. | CTRL+SHIFT+J |
QueryDesigner.Results | Displays the Results pane of the Query and View Designer. Available only in the Query and View Designer. | CTRL+4 |
QueryDesigner.SQL | Displays the SQL pane of the Query and View Designer. Available only in the Query and View Designer. | CTRL+3 |
SQL.TSqleditorExecuteQuery | CTRL+SHIFT+E |
These shortcuts are for file and project operations, and can be used anywhere in the IDE.
Command | Visual Basic 6 Scheme | Visual Studio 6 Scheme | Visual C# 2005 Scheme | Visual C++ 2, Visual C++ 6 Schemes |
---|---|---|---|---|
Build.BuildSelection |
|
| SHIFT+F6 |
|
Build.BuildSolution | CTRL+SHIFT+B | CTRL+SHIFT+B | F6 | F6CTRL+SHIFT+B |
Build.Cancel |
|
| CTRL+BREAK | CTRL+BREAK |
Build.Compile |
| CTRL+F7 | CTRL+F7 | CTRL+F7 |
Build.RebuildSolution |
|
|
| CTRL+ALT+F7 (C++ 6.0 only) |
File.NewFile |
| CTRL+SHIFT+N | CTRL+N | CTRL+N |
File.NewProject | CTRL+N | CTRL+N | CTRL+SHIFT+N | CTRL+SHIFT+N |
File.NewWebSite | SHIFT+ALT+N | SHIFT+ALT+N | SHIFT+ALT+N | SHIFT+ALT+N |
File.OpenFile |
| CTRL+SHIFT+O | CTRL+O | CTRL+O |
File.OpenProject | CTRL+O or CTRL+SHIFT+O | CTRL+O | CTRL+SHIFT+O | CTRL+SHIFT+O |
File.OpenWebSite | SHIFT+ALT+O | SHIFT+ALT+O | SHIFT+ALT+O | SHIFT+ALT+O |
File.Print | CTRL+P | CTRL+P | CTRL+P | CTRL+P |
File.Rename | F2 | F2 | F2 | F2 |
File.SaveAll | CTRL+SHIFT+S | CTRL+SHIFT+S | CTRL+SHIFT+S | CTRL+SHIFT+S |
File.SaveSelectedItems | CTRL+S | CTRL+S | CTRL+S | CTRL+S |
File.ViewinBrowser | CTRL+SHIFT+W | CTRL+SHIFT+W |
| CTRL+SHIFT+W |
Project.AddClass |
|
| SHIFT+ALT+C |
|
Project.AddExistingItem | CTRL+D or SHIFT+ALT+A | SHIFT+ALT+A or CTRL+SHIFT+D | SHIFT+ALT+A | CTRL+ALT_A |
Project.AddNewItem | CTRL+SHIFT+A | CTRL+SHIFT+A or CTRL+D | CTRL+SHIFT+A | CTRL+SHIFT+A |
Project.Override | CTRL+ALT+INSERT | CTRL+ALT+INSERT | CTRL+ALT+INSERT | CTRL+ALT+INSERT |
Project.Properties |
|
|
| ALT+F7 |
These shortcuts are for moving, closing, or navigating in tool windows and document windows.
Command | Visual Studio 6 Scheme | Visual Basic 6 Scheme | Visual C# 2005 Scheme | Visual C++ 6, Visual C++ 2 Schemes |
---|---|---|---|---|
View.FullScreen | SHIFT+ALT+ENTER | SHIFT+ALT+ENTER | SHIFT+ALT+ENTER | SHIFT+ALT+ENTER |
Window.ActivateDocumentWindow | ESC | ESC | ESC | ESC |
Window.CloseDocumentWindow | CTRL+F4 | CTRL+F4 | CTRL+F4 | CTRL+F4 |
Window.CloseToolWindow | SHIFT+ESC | SHIFT+ESC | SHIFT+ESC | SHIFT+ESC |
Window.MovetoNavigationBar | CTRL+F2 | CTRL+F2 | CTRL+F2 | CTRL+F8 |
Window.NextDocumentWindow | CTRL+F6 | CTRL+F6 | CTRL+F6 | CTRL+F6 |
Window.NextDocumentWindowNav |
| CTRL+TAB | CTRL+TAB | CTRL+TAB |
Window.NextPane | ALT+F6 | ALT+F6 | ALT+F6 | ALT+F6 |
Window.NextTab | CTRL+PAGE DOWN | CTRL+PAGE DOWN | CTRL+PAGE DOWN | CTRL+PAGE DOWN |
Window.NextTabandAddtoSelection | CTRL+SHIFT+ALT+PAGE DOWN | CTRL+SHIFT+ALT+PAGE DOWN | CTRL+SHIFT+ALT+PAGE DOWN | CTRL+SHIFT+ALT+PAGE DOWN |
Window.NextToolWindow |
| ALT+F7 |
|
|
Window.NextToolWindowNav | ALT+F7 |
| ALT+F7 |
|
Window.PreviousDocumentWindow | CTRL+SHIFT+F6 | CTRL+SHIFT+F6 | CTRL+SHIFT+F6 | CTRL+SHIFT+F6 |
Window.PreviousDocumentWindowNav |
| CTRL+SHIFT+TAB | CTRL+SHIFT+TAB | CTRL+SHIFT+TAB |
Window.PreviousPane | SHIFT+ALT+F6 | SHIFT+ALT+F6 | SHIFT+ALT+F6 | SHIFT+ALT+F6 |
Window.PreviousSplitPane | SHIFT+F6 | SHIFT+F6 |
| SHIFT+F6 |
Window.PreviousTab | CTRL+PAGE UP | CTRL+PAGE UP | CTRL+PAGE UP | CTRL+PAGE UP |
Window.PreviousTabandAddtoSelection | CTRL+SHIFT+ALT+PAGE UP | CTRL+SHIFT+ALT+PAGE UP | CTRL+SHIFT+ALT+PAGE UP | CTRL+SHIFT+ALT+PAGE UP |
Window.ShowEzMDIFileList | CTRL+ALT+DOWN ARROW | CTRL+ALT+DOWN ARROW | CTRL+ALT+DOWN ARROW | CTRL+ALT+DOWN ARROW |
Window.PreviousToolWindowNav | SHIFT+ALT+F7 |
| SHIFT+ALT+F7 |
|
These shortcuts are for opening tool windows anywhere in the IDE.
Command | Description | Visual Studio 6 Scheme | Visual Basic 6 Scheme | Visual C# 2005 Scheme | Visual C++ 6, Visual C++ 2 Schemes |
---|---|---|---|---|---|
Tools.CodeSnippetsManager | Displays the Code Snippets Manager, which lets you search for and insert code snippets in files. | CTRL+K, CTRL+B | CTRL+K, CTRL+B | CTRL+K, CTRL+B | CTRL+K, CTRL+B (Visual C++ 6 scheme only) |
Tools.GoToCommandLine | Puts the pointer in the Find/Command box on the Standard toolbar. | CTRL+/ |
|
| CTRL+/ |
View.BookmarkWindow | Displays the Bookmark window. | CTRL+K, CTRL+W | CTRL+K, CTRL+W or CTRL+W, K | CTRL+W, CTRL+B or CTRL+K, CTRL+W | CTRL+K, CTRL+W |
View.CallHierarchy | Displays the Call Hierarchy window |
| CTRL+W, CTRL+C | CTRL+ALT+K | CTRL+ALT+K |
View.ClassView | Displays the Class View window. | CTRL+SHIFT+C | CTRL+SHIFT+C | CTRL+SHIFT+C or CTRL+W, CTRL+C | CTRL+SHIFT+C |
View.ClassViewGoToSearchCombo | Brings focus to the Class View Search box. | CTRL+K, CTRL+V | CTRL+K, CTRL+V | CTRL+K, CTRL+V | CTRL+K, CTRL+V |
View.CodeDefinitionWindow | Displays the Code Definition window. | CTRL+\, D | CTRL+\, D | CTRL+\, D or CTRL+W, D | CTRL+SHIFT+V |
View.CommandWindow | Displays the Command window, where commands can be invoked to make changes to the IDE. | CTRL+ALT+A | CTRL+ALT+A | CTRL+ALT+A or CTRL+W, A | CTRL+ALT+A |
View.DocumentOutline | Displays the Document Outline window to view the flat or hierarchical outline of the current document. | CTRL+ALT+T | CTRL+ALT+T | CTRL+ALT+T or CTRL+W, U | CTRL+ALT+D |
View.EditLabel | Lets you change the name of the selected item in Solution Explorer. | F2 |
| F2 |
|
View.ErrorList | Displays the Error List window. | CTRL+\, E | CTRL+\, E or CTRL+W, E | CTRL+\, E or CTRL+W, E | CTRL+\,CTRL+E |
View.F#Interactive | Displays the F# Interactive window. | CTRL+ALT+F | CTRL+ALT+F | CTRL+ALT+F | CTRL+ALT+F |
View.FindSymbolResults | Displays the Find Symbol Results window. | CTRL+ALT+F12 | CTRL+ALT+F12 | CTRL+ALT+F12 or CTRL+W, Q | CTRL+ALT+Y |
View.ObjectBrowser | Displays the Object Browser. | CTRL+ALT+B or F2 | CTRL+ALT+J or F2 | CTRL+ALT+J or CTRL+W, J | CTRL+ALT+J |
View.Output | Displays the Output window to view status messages at run time. | CTRL+ALT+O | CTRL+ALT+O | CTRL+ALT+O or CTRL+W, O | CTRL+ALT+OALT+2 |
View.PendingCheckins | Displays the Pending Checkins window. |
|
| CTRL+W, G |
|
View.PopBrowseContext | Returns to the location that preceded the last browse operation. | CTRL+SHIFT+8 |
| CTRL+SHIFT+8 | CTRL+NUM* |
View.PropertiesWindow | Displays the Properties window, which lists the design-time properties and events for the currently selected item. | F4 | F4 | F4 or CTRL+W, P | ALT+ENTER |
View.PropertyPages | Displays the property pages for the currently selected item. | SHIFT+F4 | SHIFT+F4 | SHIFT+F4 |
|
View.ResourceView | Displays the Resource View window. | CTRL+SHIFT+E | CTRL+SHIFT+E | CTRL+SHIFT+E or CTRL+W, R | CTRL+SHIFT+E |
View.ServerExplorer | Displays Server Explorer, which lets you view and change database servers, event logs, message queues, Web services, and other operating system services. | CTRL+ALT+S | CTRL+ALT+S | CTRL+ALT+S or CTRL+W, L | CTRL+ALT+S |
View.SolutionExplorer | Displays Solution Explorer, which lists the projects and files in the current solution. | CTRL+ALT+J | CTRL+ALT+L or CTRL+R | CTRL+ALT+L or CTRL+W, S | CTRL+ALT+L |
View.TaskList | Displays the Task List window, which displays custom tasks, comments, shortcuts, warnings, and error messages. | CTRL+\, T or CTRL+ALT+K (Visual Studio 6 scheme) | CTRL+\, T or CTRL+ALT+K | CTRL+\, T or CTRL+W, T | CTRL+\, T or CTRL+\,CTRL+T |
View.Toolbox | Displays the Toolbox, which contains controls and other items that can be included or used with your code. | CTRL+ALT+X | CTRL+ALT+X | CTRL+ALT+X or CTRL+W, X | CTRL+ALT+X |
View.WebBrowser | Displays the Web Browser window, which lets you view pages on the Internet. | CTRL+ALT+R | CTRL+ALT+R | CTRL+ALT+R or CTRL+W, W | CTRL+ALT+R |
Window.PreviousToolWindow | Brings focus to the previous toolwindow. |
| SHIFT+ALT+F7 |
|
|
Window.PreviousToolWindowNav | Displays the IDE Navigator, with the previous tool window selected. | SHIFT+ALT+F7 |
| SHIFT+ALT+F7 |
|
These shortcuts are only for working with class diagrams.
Command | Description | All Schemes |
---|---|---|
ClassDiagram.Collapse | Collapses expanded nodes in the Class Details window or collapses the selected shape compartment in the diagram. | MINUS SIGN (on the numeric keypad) |
ClassDiagram.Expand | Expands collapsed nodes in the Class Details window or expands the selected shape compartment in the diagram. | PLUS SIGN (on the numeric keypad) |
Edit.Delete | Removes the selected item from the class diagram. | CTRL+DELETE |
Edit.ExpandCollapseBaseTypeList | Expands or collapses base types in the selected shape compartment. For example, if Interface1 inherits from Interface2, Interface3, and Interface4, the parental interfaces are listed on the shape compartment for Interface1. By using this command, you can collapse the list of inherited interfaces to show only summary information about the number of base interfaces inherited by Interface1. | SHIFT+ALT+B |
Edit.NavigateToLollipop | Selects the Interface Lollipop for a shape compartment. The lollipop appears on shapes that implement one or more interfaces. | SHIFT+ALT+L |
Edit.RemoveFromDiagram | Removes the selected shape compartment from the diagram. | DELETE |
View.ViewCode | For the selected item, opens the corresponding file and puts the cursor in the correct location. | F7 or ENTER |
These shortcuts are for working with bookmarks, either in the Bookmarks window or in the editor.
Command | Visual Studio 6 Scheme | Visual Basic 6 Scheme | Visual C# 2005 Scheme | Visual C++ 6, Visual C++ 2 Schemes |
---|---|---|---|---|
Edit.ClearBookmarks | CTRL+K, CTRL+L | CTRL+K, CTRL+L | CTRL+B, CTRL+C | CTRL+SHIFT+F2 |
Edit.EnableBookmark |
|
| CTRL+B, E |
|
Edit.NextBookmark | CTRL+K, CTRL+N | CTRL+K, N | CTRL+K, N or CTRL+B, N | F2 |
Edit.NextBookmarkInFolder | CTRL+SHIFT+K, CTRL+SHIFT+N | CTRL+SHIFT+K, CTRL+SHIFT+N |
| CTRL+SHIFT+K, CTRL+SHIFT+N |
Edit.ToggleBoomark | CTRL+K, CTRL+K | CTRL+K, CTRL+K or CTRL+T | CTRL+K, CTRL+K or CTRL+B, T | CTRL+F2 |
View.BookmarkWindow | CTRL+K, CTRL+W | CTRL+K, CTRL+W or CTRL+ K, T | CTRL+K, CTRL+W or CTRL+W, B | CTRL+K, CTRL+W |
Edit.PreviousBookmark | CTRL+K, CTRL+P | CTRL+K, P | CTRL+B, P or CTRL+K, P | SHIFT+ |
Edit.PreviousBookmarkInFolder | CTRL+SHIFT+K, CTRL+SHIFT+P | CTRL+SHIFT+K, CTRL+SHIFT+P |
| CTRL+SHIFT+K, CTRL+SHIFT+P |
These shortcuts work in the Object Browser.
Command | Visual C# 2005 Scheme | Visual Basic 6 Scheme | Visual Studio 6 Scheme | Visual C++ 6, Visual C++ 2 Schemes |
---|---|---|---|---|
Edit.GoToDeclaration | CTRL+F12 | CTRL+F12 | CTRL+F12 | CTRL+ALT_F12 |
Edit.GoToDefinition | F12 | F12 or SHIFT+F2 |
| F12 |
Edit.GoToReference |
| SHIFT+F12 |
| SHIFT+F12 |
View.ObjectBrowserBack |
| ALT+- |
|
|
View.ObjectBrowserForward |
| SHIFT+ALT+- |
|
|
View.ObjectBrowserGoToSearchCombo | CTRL+K, CTRL+R | CTRL+K, CTRL+R | CTRL+K, CTRL+R |
These shortcuts work for the Image editor.
Command | Definition | All Keyboard Schemes |
---|---|---|
Image.AirbrushTool | Draws by using an airbrush with the selected size and color. | CTRL+A |
Image.BrushTool | Draws by using a brush with the selected shape, size, and color. | CTRL+B |
Image.CopyandOutlineSelection | Creates a copy of the current selection and outlines it. If the background color is in the current selection, it will be excluded if you have transparent selected. For more information, see . | CTRL+SHIFT+U |
Image.DrawOpaque | Makes the current selection either opaque or transparent. For more information, see . | CTRL+J |
Image.EllipseTool | Draws an ellipse that has the selected line width and color. | ALT+P |
Image.EraseTool | Erases a part of the image (with the current background color). | CTRL+SHIFT+I |
Image.FilledEllipseTool | Draws a filled ellipse. | CTRL+SHIFT+ALT+P |
Image.FilledRectangleTool | Draws a filled rectangle. | CTRL+SHIFT+ALT+R |
Image.FilledRoundedRectangleTool | Draws a filled round rectangle. | CTRL+SHIFT+ALT+W |
Image.FillTool | Fills an area. | CTRL+F |
Image.FlipHorizontal | Flips the image or selection horizontally. | CTRL+H |
Image.FlipVertical | Flips the image or selection vertically. | SHIFT+ALT+H |
Image.LargerBrush | Increases the brush size by one pixel in each direction. To decrease the brush size, see Image.SmallerBrush in this table. | CTRL+= |
Image.LineTool | Draws a straight line with the selected shape, size, and color. | CTRL+L |
Image.MagnificationTool | Switches to the Magnify tool, which lets you to magnify specific sections of your image. | CTRL+M |
Image.Magnify | Toggles between the current magnification and 1:1 magnification. | CTRL+SHIFT+M |
Image.NewImageType |