5/10/2011

Pre-defined Keyboard Shortcuts
Visual Studio 2010

Pre-defined Keyboard Shortcuts

The Visual Studio integrated development environment (IDE) inc ludes several pre-defined keyboard shortc ut schemes. When you start Visual Studio for the first time and selec t your settings, the assoc iated sc hemes are automatically set. Thereafter, by using the keyboard options page in the Options dialog box, you c an choose from additional schemes and you can also create your own keyboard shortc uts. This topic shows the keyboard shortcut schemes that pertain to .NET Framework development and Web development. For Visual C++ keyboard shortcuts, see Visual C++ 6.0 Default Shortcut Keys. Table of Contents Designers and Editors, Shared Shortc uts Designers Editors Data File and Projec t Operations Window Management Tool Windows Debugging Testing Integrated Help

Designers and Editors, Shared Shortcuts
These shortcuts work in both designers and editors.

Command

Description

General Development, Web

Visual C#, Visual Basic, Visual Basic 6

Visual Studio 6

Visual C# 2005

Edit.Copy

Copies the selected item to the Clipboard.

CTRL+C or CTRL+INSERT

CTRL+C or CTRL+INSERT

CTRL+C or CTRL+INSERT

CTRL+C or CTRL+INSERT

Edit.Cut

Deletes the selected item from the file and copies it to the Clipboard.

CTRL+X or SHIFT+DELETE

CTRL+X or SHIFT+DELETE

CTRL+X or SHIFT+DELETE

CTRL+X or SHIFT+DELETE

Edit.CycleClipboardRing

Pastes an item from the CTRL+SHIFT+V or Clipboard ring to the cursor CTRL+SHIFT+INSERT location in the file. To paste the next item in the Clipboard ring instead, press the shortcut again.

CTRL+SHIFT+V or CTRL+SHIFT+INSERT

CTRL+SHIFT+V or CTRL+SHIFT+INSERT

CTRL+SHIFT+V or CTRL+SHIFT+INSERT

Edit.Delete

Deletes one c harac ter to the right of the cursor.

DELETE

CTRL+DELETE

DELETE

DELETE

Edit.Find

Displays the Quick tab of the Find and Replace dialog box.

CTRL+F

CTRL+F

CTRL+F

CTRL+F

Edit.FindAllReferenc es

SHIFT+F12 Displays the list of references for the selected symbol.

SHIFT+F12

CTRL+K, R or SHIFT+F12

Edit.FindinFiles

Displays the In Files tab of the Find and Replace dialog box.

CTRL+SHIFT+F

CTRL+SHIFT+F

CTRL+SHIFT+F

Edit.FindNext

Finds the next occ urrence of the search text.

F3

F3

F3

F3

Edit.FindNextSelec ted

Finds the next occ urrence of the currently selected

CTRL+F3

CTRL+F3

CTRL+F3

CTRL+F3

msdn.microsoft.com/…/da5kh0wa.aspx

1/28

5/10/2011
Edit.GoToFindCombo Puts the cursor in the Find/Command box on the Standard toolbar. CTRL+D

Pre-defined Keyboard Shortcuts
CTRL+/ (Visual C# only) CTRL+SHIFT+F CTRL+/

Edit.Inc rementalSearc h

Ac tivates inc remental searc h. If incremental searc h is on, but no input is passed, the previous searc h query is used. If searc h input has been found, the next invocation searc hes for the next occ urrenc e of the input text.

CTRL+I

ALT+I

CTRL+I

Edit.Paste

Inserts the Clipboard c ontents at the cursor.

CTRL+V or SHIFT+INSERT

CTRL+V or SHIFT+INSERT

CTRL+V or SHIFT+INSERT

CTRL+V or SHIFT+INSERT

Edit.QuickFindSymbol

Searc hes for the selected objec t or member and displays the matc hes in the Find Symbol Results window.

SHIFT+ALT+F12

SHIFT+ALT+F12

SHIFT+ALT+F12

SHIFT+ALT+F12

Edit.NavigateTo

Displays the Navigate To dialog box.

CTRL+,

CTRL+,

CTRL+,

CTRL+,

Edit.Redo

Repeats the most recent action.

CTRL+Y or SHIFT+ALT+BACKSPACE CTRL+Y or CTRL+Y or SHIFT+ALT+BACKSPACE SHIFT+ALT+BACKSPACE SHIFT+ALT+BACKSPACE or CTRL+SHIFT+Z or CTRL+SHIFT+Z or CTRL+SHIFT+Z or CTRL+SHIFT+Z

Edit.Replace

Displays the replace options on the Quick tab of the Find and Replace dialog box.

CTRL+H

CTRL+H

CTRL+H

CTRL+H

Edit.ReplaceinFiles

Displays the replace CTRL+SHIFT+H options on the In Files tab of the Find and Replace dialog box.

CTRL+SHIFT+H

CTRL+SHIFT+H

CTRL+SHIFT+H

Edit.SelectAll

Selec ts everything in the c urrent doc ument.

CTRL+A

CTRL+A

CTRL+A

CTRL+A

Edit.StopSearch

Stops the current Find in Files operation.

ALT+F3, S

ALT+F3, S

ALT+F3, S

ALT+F3, S

Edit.Undo

Reverses the last editing action.

CTRL+Z or ALT+BACKSPACE

CTRL+Z or ALT+BACKSPACE

CTRL+Z or ALT+BACKSPACE

CTRL+Z or ALT+BACKSPACE

View.ViewCode

For the selec ted item, opens the corresponding file and puts the cursor in the correct location.

F7

F7

F7

View.ViewDesigner

Switches to Design view for the current document. Available only in Source view.

SHIFT+F7

SHIFT+F7

SHIFT+F7

Designers
The shortc uts in this section work in designers. Editor shortc uts may also work in designers that inc lude text, for example, the Report designer.

Control Manipulation
These shortcuts work in designers, for moving, selecting, and changing the size of c ontrols.

msdn.microsoft.com/…/da5kh0wa.aspx

2/28

MoveControlUp Moves the control up in increments of 1 pixel on the design surface.SizeControlDown Expands the control downward in increments of 1 pixel on the design surfac e.SizeControlLeftGrid Expands the control to the left to the next preset grid position on the design surface.Italic Toggles the selec ted text between italic and plain.SizeControlRight Expands the control to the right in increments of 1 pixel on the design surfac e. Available only in Design view.ShowTileGrid Displays the grid on the design surfac e. Command Description Visual Studio 6 All Other Schemes Format. SHIFT+UP ARROW View. and c ertain shortc uts are available only in a specific view.aspx file to the Web site and opens the file in the HTML Designer.MoveControlRight Moves the control to the right in increments of 1 pixel on the design surface.SizeControlLeft Expands the control to the left in inc rements of 1 pixel on the design surface.com/…/da5kh0wa.ColumntotheLeft Adds one column to the left of the current column in the table.5/10/2011 Edit.Bold Toggles the selec ted text between bold and plain. SHIFT+LEFT ARROW Edit. Pre-defined Keyboard Shortcuts RIGHT ARROW Edit. Available only in Design view. CTRL+ALT+LEFT ARROW CTRL+ALT+LEFT ARROW Table. Available only in Design view.aspx 3/28 . CTRL+M. ENTER Edit. CTRL+RIGHT ARROW Edit. SHIFT+UP ARROW Edit.microsoft. SHIFT+LEFT ARROW Edit. displays the Hyperlink dialog box.SelectNextControl Moves to the next control on the page based on the TabIndex property of the control.ShowSmartTag Displays the available options on the smart tag menu. Available only in Design view. SHIFT+TAB Edit. may also be used in the HTML Designer.Underline Toggles the selec ted text between underlined and plain.AddContentPage Adds a new *. SHIFT+ALT+F10 HTML Designer These shortcuts only work in the HTML Designer. CTRL+U CTRL+U Project.SizeControlRightGrid Expands the control to the right to the next preset grid position on the design surfac e. CTRL+L CTRL+L Format. CTRL+C CTRL+M. TAB Edit.SizeControlUp Expands the control upward in increments of 1 pixel on the design surface. CTRL+SHIFT+DOWN ARROW Edit. UP ARROW Edit.ConverttoHyperlink When text is selected. SHIFT+DOWN ARROW Edit. Text Navigation shortcuts. CTRL+I CTRL+I Format. Available only in Design view. which are listed later in this topic.SizeControlDownGrid Expands the control downward to the next preset grid position on the design surface.InsertBookmark Displays the Bookmark dialog box. Available only in Design view. Text Selection shortc uts. CTRL+C Table. Available only in CTRL+ALT+RIGHT CTRL+ALT+RIGHT msdn. CTRL+B CTRL+B Format. SHIFT+RIGHT ARROW Edit. SHIFT+RIGHT ARROW Edit. CTRL+SHIFT+L CTRL+SHIFT+L Format. CTRL+UP ARROW Edit.MoveControlUpGrid Moves the control up in increments of 8 pixels on the design surface.ColumntotheRight Adds one column to the right of the c urrent c olumn in the table.SelectPreviousControl Moves back to the previously selected control on the page. Available only in Design view.SizeControlUpGrid Expands the control upward to the next preset grid position on the design surface.MoveControlRightGrid Moves the control to the right to the next preset grid position on the design surfac e. and Text Manipulation shortc uts.

microsoft. RIGHT ARROW RIGHT ARROW RIGHT ARROW RIGHT ARROW RIGHT ARROW Edit. F7 XML Schema Designer Command Description All Keyboard Schemes OtherContextMenus. Available in all views.DocumentEnd CTRL+END Moves the c ursor to the last line of the END END CTRL+END CTRL+END msdn. Available only in Design view.aspx 4/28 .ShowGraphView Displays the c urrent XML sc hema in Graph View. CTRL+2 XsdDesigner.EditCell Displays the selec ted c ell in Edit mode.RemovefromWorkspace Removes the selected item from the workspace. LEFT ARROW LEFT ARROW LEFT ARROW LEFT ARROW LEFT ARROW Edit.ShowSmartTag Displays the available options on the smart tag menu. Web Visual C# Visual Basic. Command Description All Keyboard Schemes Edit. Available in all views. DELETE XsdDesigner.PreviousTab Switches among Design view.ViewMarkup Switches to Source view for the c urrent doc ument.ViewCode Switches to Code view.com/…/da5kh0wa. Text Navigation These shortcuts are for moving around in an open doc ument. Source view. and Server Code view for the current document. CTRL+3 XsdDesigner. and Server Code view for the current document. Source view. ESC View.ShowContentModelView Displays the c urrent XML sc hema in Content Model View. CTRL+DELETE Edit.5/10/2011 View.SelectionCancel Cancels the current selec tion. SHIFT+ALT+F10 or SHIFT+ALT+F10 CTRL+J View. CTRL+PAGE DOWN CTRL+PAGE DOWN View.GraphView. F2 Edit. Visual Basic 6 Visual Studio 6 Visual C# 2005 Edit. CTRL+PAGE UP CTRL+PAGE UP Settings Designer These shortcuts are specific to the Settings Designer.CharLeft Moves the c ursor one c harac ter to the left. Command Description General Development.NextView Pre-defined Keyboard Shortcuts Switches among Design view. CTRL+1 Editors The shortc uts in this section work in text editors. SHIFT+F7 SHIFT+F7 Window.RemoveRow Removes the selec ted row.ShowStartView Displays the c urrent XML sc hema in Start View.CharRight Moves the c ursor one c harac ter to the right.

CTRL+F12 CTRL+F12 CTRL+F12 CTRL+F12 CTRL+F12 Edit. searc hes for the next occ urrenc e. SHIFT+F8 or SHIFT+F12 SHIFT+F8 Edit.GoToDefinition Navigates to F12 the dec laration for the selec ted symbol in c ode.5/10/2011 matching brac e in the sourc e file.GoToNextLocation F8 Moves the c ursor to the next item.GoToPrevLoc ation Moves the SHIFT+F8 c ursor bac k to the previous item. If incremental searc h is started but you have not typed any c harac ters. F8 or F12 F8 Edit. SHIFT+F12 SHIFT+F12 Edit.microsoft. Pre-defined Keyboard Shortcuts Edit.LineEnd Moves the c ursor to the end of the END END END END END msdn. DOWN ARROW DOWN ARROW DOWN ARROW DOWN ARROW DOWN ARROW Edit. recalls the previous pattern. CTRL+I ALT+I ALT+I CTRL+I Edit. F12 or SHIFT+F2 F12 or SHIFT+F2 F12 Edit.Inc rementalSearc h Starts incremental searc h. If text has been found.GoToReference Searc hes for references to the object or member selec ted in the file and displays the matches in the Find Symbol Results window.LineDown Moves the c ursor down one line.GoToDeclaration Displays the definition of the selec ted symbol in the c ode.aspx 5/28 .com/…/da5kh0wa. such as a task in the Task List window or a search match in the Find Results window. Subsequent invocations move to the next item in the list.

bookmarks in folders are skipped.aspx 6/28 . CTRL+SHIFT+K. CTRL+SHIFT+N CTRL+SHIFT+K.com/…/da5kh0wa. CTRL+K. bookmark is in CTRL+SHIFT+N a folder. CTRL+SHIFT+P CTRL+SHIFT+K.microsoft. Pre-defined Keyboard Shortcuts Edit.PreviousBookmark Moves the CTRL+K. CTRL+SHIFT+P CTRL+SHIFT+K. moves to the next bookmark in that folder.5/10/2011 in the doc ument. P CTRL+K. CTRL+SHIFT+N Edit. CTRL+SHIFT+P CTRL+SHIFT+K. moves to the CTRL+SHIFT+K. PAGE DOWN PAGE DOWN PAGE DOWN PAGE DOWN PAGE DOWN Edit. PAGE UP PAGE UP PAGE UP PAGE UP Edit. CTRL+PAGE DOWN or CTRL+DOWN ARROW CTRL+PAGE DOWN or CTRL+DOWN ARROW Edit.PreviousBookmarkInFolder If the c urrent bookmark is in a folder. If the Bookmark window c ontains folders. P Edit. CTRL+SHIFT+N CTRL+SHIFT+K.PageDown Sc rolls down one screen in the editor window. If the c urrent bookmark is not in a folder.NextHighlightedReferenc e Moves the c ursor to the next instanc e of the current type or member. moves to the previous bookmark in that folder. CTRL+P c ursor to the location of the previous bookmark. Bookmarks outside the folder are skipped.NextBookmarkInFolder If the c urrent CTRL+SHIFT+K.PageUp Sc rolls up one PAGE UP sc reen in the editor window. P CTRL+K. moves to the next bookmark at the same level. CTRL+SHIFT+P msdn. CTRL+P CTRL+B. Bookmarks outside the folder are skipped. If the c urrent bookmark is not in a folder.NextMethod Moves the c ursor to the next method or type in the c urrent c ode file. CTRL+SHIFT+DOWN CTRL+SHIFT+DOWN CTRL+SHIFT+DOWN CTRL+SHIFT+DOWN CTRL+SHIFT+DOWN ARROW ARROW ARROW ARROW ARROW Edit.

PreviousMethod Moves the c ursor to the previous method or type in the c urrent c ode file. CTRL+SHIFT+I SHIFT+ALT+I SHIFT+ALT+I CTRL+SHIFT+I Edit.WordPrevious Moves the c ursor to the left one word. CTRL+LEFT ARROW CTRL+LEFT ARROW CTRL+LEFT ARROW CTRL+LEFT ARROW CTRL+LEFT ARROW View.microsoft. see Quic k Info. Available in text editors only. CTRL+UP ARROW CTRL+UP ARROW CTRL+UP ARROW CTRL+UP ARROW Edit.Sc rollLineDown CTRL+DOWN Sc rolls text down one line. CTRL+DOWN ARROW CTRL+DOWN ARROW CTRL+DOWN ARROW CTRL+DOWN ARROW Edit. CTRL+I CTRL+I CTRL+I CTRL+K. For more information. CTRL+PAGE UP or CTRL+UP ARROW CTRL+PAGE UP or CTRL+UP ARROW Edit.aspx 7/28 . ARROW Available in text editors only. CTRL+PAGE UP CTRL+PAGE UP Edit. dec laration.ViewTop Moves to the CTRL+PAGE UP first visible line of the ac tive window.QuickInfo CTRL+K.BrowseNext Moves to the CTRL+SHIFT+1 next definition. CTRL+RIGHT ARROW CTRL+RIGHT ARROW CTRL+RIGHT ARROW CTRL+RIGHT ARROW CTRL+RIGHT ARROW Edit.com/…/da5kh0wa.ReverseIncrementalSearch Changes the direction of incremental searc h to start at the bottom of the file and progress toward the top.ViewBottom Moves to the CTRL+PAGE DOWN last visible line of the ac tive window. CTRL+I Edit. CTRL+I Displays the c omplete dec laration for the specified identifier in your code in a Quic k Info tool tip.Sc rollLineUp Sc rolls text up CTRL+UP ARROW one line. or reference of CTRL+SHIFT+1 CTRL+SHIFT+1 CTRL+SHIFT+1 msdn.WordNext Moves the c ursor to the right one word. Pre-defined Keyboard Shortcuts Edit.5/10/2011 previous instanc e of the current type or member. CTRL+PAGE DOWN CTRL+PAGE DOWN Edit.

Visual Basic 6 Visual C# 2005 Edit. CTRL+SHIFT+8 CTRL+SHIFT+8 CTRL+SHIFT+8 CTRL+SHIFT+8 Window.CharLeftExtendColumn Moves the cursor to the left one c harac ter.5/10/2011 View. CTRL+SHIFT+F12 CTRL+SHIFT+F12 View. Web.aspx 8/28 .NavigateForward Moves to the next browsed line of code.NextSplitPane F6 When editing c ode or text in a split window. ARROW SHIFT+ALT+LEFT ARROW SHIFT+ALT+LEFT ARROW Edit.CharRightExtend Moves the cursor one character to the right SHIFT+RIGHT ARROW and extends the current selec tion. SHIFT+ALT+LEFT extending the column selection. Command Description General Development. CTRL+SHIFT+F12 CTRL+SHIFT+F12 CTRL+SHIFT+F12 View.CharLeftExtend Moves the cursor one character to the left and extends the current selec tion. SHIFT+LEFT ARROW SHIFT+LEFT ARROW SHIFT+LEFT ARROW Edit. CTRL+SHIFT+- CTRL+SHIFT+- CTRL+SHIFT+- CTRL+SHIFT+- CTRL+SHIFT+- View. Uses the Go To Definition navigation stac k.NavigateBac kward Moves to the previously browsed line of code. F6 F6 F6 Text Selection These shortcuts are for selecting text in an open doc ument. moves the c ursor to the next pane of the split. CTRL+- CTRL+- CTRL+SHIFT+2 or CTRL+- CTRL+- CTRL+- View.microsoft.ForwardBrowseContext Moves to the next item c alled in code in the current file.com/…/da5kh0wa. Visual Studio 6 Visual C#. CTRL+SHIFT+7 Pre-defined Keyboard Shortcuts CTRL+SHIFT+7 CTRL+SHIFT+7 CTRL+SHIFT+7 CTRL+SHIFT+7 View. Visual Basic.PopBrowseContext Moves to the previous item c alled in code in the current file.NextTask Moves to the next task or c omment in the Task List window.NextError CTRL+SHIFT+F12 Moves to the next error entry in the Error List window. Uses the Go To Definition navigation stac k. SHIFT+RIGHT ARROW SHIFT+RIGHT ARROW msdn. whic h automatic ally sc rolls to the affec ted section of text in the editor.

SHIFT+PAGE UP SHIFT+PAGE UP SHIFT+PAGE UP Edit. Visual C# Scheme. Visual C#.ViewBottomExtend Moves the cursor and extends the selec tion CTRL+SHIFT+PAGE to the last line in view.SelectCurrentWord Selec ts the word that c ontains the cursor or the word to the right of the c ursor.WordPreviousExtend Extends the selection one word to the left. Visual Studio 6 Visual C# 2005 msdn. CTRL+SHIFT+PAGE UP CTRL+SHIFT+PAGE UP Edit.SelectToLastGoBack Selec ts everything from the c urrent location of the c ursor to the Navigate Backward (CTRL+MINUS SIGN) loc ation in the editor. extending the column selection. ARROW SHIFT+ALT+DOWN ARROW SHIFT+ALT+DOWN ARROW Edit. extending the column selection. DOWN CTRL+SHIFT+PAGE DOWN Edit. see Text Navigation Shortcut Keys.5/10/2011 Edit.LineEndExtendColumn Moves the cursor to the end of the line. CTRL+SHIFT+RIGHT ARROW CTRL+SHIFT+RIGHT ARROW CTRL+SHIFT+RIGHT ARROW Edit. CTRL+SHIFT+ALT+LEFT ARROW CTRL+SHIFT+ALT+LEFT ARROW CTRL+SHIFT+ALT+LEFT ARROW Text Viewing These shortcuts are for changing how text is displayed without c hanging the text itself.WordNextExtend Extends the selection one word to the right. starting at the location of the c ursor.SelectionCancel Cancels the current selec tion.aspx 9/28 . SHIFT+DOWN ARROW SHIFT+UP ARROW SHIFT+DOWN ARROW Edit.LineEndExtend Selec ts text from the cursor to the end of the current line. Command Description General Development.LineUpExtend Selec ts text up. extending the SHIFT+ALT+UP ARROW column selec tion. CTRL+= CTRL+= CTRL+= Edit.microsoft.PageDownExtend Extends selection down one page.LineStartExtend Selec ts text from the cursor to the start of the line. ESC ESC ESC Edit. SHIFT+ALT+UP ARROW SHIFT+ALT+UP ARROW Edit. SHIFT+END SHIFT+END SHIFT+END Edit.com/…/da5kh0wa.LineUpExtendColumn Moves the cursor up one line. SHIFT+ALT+HOME SHIFT+ALT+HOME SHIFT+ALT+HOME Edit.PageUpExtend Extends selection up one page. SHIFT+PAGE DOWN SHIFT+PAGE DOWN SHIFT+PAGE DOWN Edit.WordPreviousExtendColumn Moves the cursor to the left one word. extending the column selection.LineDownExtend Pre-defined Keyboard Shortcuts Extends text selection down one line. CTRL+SHIFT+ALT+RIGHT CTRL+SHIFT+ALT+RIGHT CTRL+SHIFT+ALT+RIGHT ARROW ARROW ARROW Edit.LineDownExtendColumn Moves the pointer down one line. for example. Visual Basic. SHIFT+UP ARROW SHIFT+DOWN ARROW SHIFT+UP ARROW Edit. extending the column selection. line by line.ViewTopExtend Extends the selection to the top of the ac tive window.LineStartExtendColumn Moves the cursor to the start of the line. starting from the loc ation of the cursor. CTRL+SHIFT+LEFT ARROW CTRL+SHIFT+LEFT ARROW CTRL+SHIFT+LEFT ARROW Edit. For more information.WordNextExtendColumn Moves the cursor to the right one word. by hiding a selected area or by outlining methods. SHIFT+HOME SHIFT+HOME SHIFT+HOME Edit. CTRL+W CTRL+SHIFT+W CTRL+SHIFT+W Edit. SHIFT+ALT+END SHIFT+ALT+END SHIFT+ALT+END Edit. extending SHIFT+ALT+DOWN the column selection.

CTRL+B. Regions are indicated by triangles on the left edge of the document window.ToggleAllOutlining Toggles all previously c ollapsed outlining regions between c ollapsed and CTRL+M. CTRL+T CTRL+M. CTRL+S CTRL+M. ALT+.microsoft.Inc reaseFilterLevel Switches an open IntelliSense list from the Common tab to the All tab. CTRL+X CTRL+M. CTRL+S Edit. CTRL+M. ALT+. CTRL+L CTRL+M.CollapsetoDefinitions Collapses existing CTRL+M. Put the c ursor on a collapsed region to use this c ommand. CTRL+P CTRL+M.EnableBookmark Enables bookmark usage in c urrent document. Edit. CTRL+M. CTRL+U information for the c urrently selec ted region. L msdn.HideSelection Hides the selec ted CTRL+M. CTRL+H CTRL+M.) instead. CTRL+X Edit.aspx 10/28 . . ALT+. CTRL+E Edit. CTRL+H Edit.ExpandCurrentRegion Expands the c urrent CTRL+M. . You c an view the complete tag as a tooltip by putting the mouse pointer over the ellipsis. CTRL+X CTRL+M. CTRL+E region.ExpandAllOutlining Expands all collapsed regions on the page. E Edit. Available only in Visual Basic.com/…/da5kh0wa. CTRL+M. CTRL+M. Available only in Visual Basic. CTRL+S that c ontains the c ursor to show just the top line of the region. CTRL+O Edit. CTRL+M. followed by an ellipsis.CollapseCurrentRegion Pre-defined Keyboard Shortcuts Collapses the region CTRL+M. CTRL+O regions to provide a high-level view of the types and members in the source file. CTRL+P CTRL+M. ALT+. CTRL+O CTRL+M.CollapseTag Hides the selec ted CTRL+M.StopOutlining Removes all outlining information from the whole document. CTRL+U CTRL+M. ALT+. A signal icon marks the loc ation of the hidden text in the file. ALT+. CTRL+T Edit.DecreaseFilterLevel Switches an open IntelliSense list from the All tab to the Common tab. CTRL+T HTML tag and displays an ellipsis (. CTRL+M. ALT+. ALT+.5/10/2011 Edit. CTRL+M. CTRL+E CTRL+M. CTRL+U Edit. CTRL+M. CTRL+H text. CTRL+L CTRL+M. P Edit. Edit.StopHidingCurrent Removes the outlining CTRL+M.

ToggleOutliningExpansion Toggles the c urrently selec ted collapsed region between the c ollapsed and expanded state. ALT+RIGHT ARROW or CTRL+SPACEBAR ALT+RIGHT ARROW or CTRL+SPACEBAR ALT+RIGHT ARROW or CTRL+SPACEBAR ALT+RIGHT ARROW or CTRL+SPACEBAR or CTRL+K.DeleteBackwards Deletes one BACKSPACE c harac ter to the left BACKSPACE BACKSPACE BACKSPACE msdn. CTRL+M CTRL+M. CTRL+W CTRL+R. Available only in text editors. CTRL+C or CTRL+E. CTRL+K. CTRL+W CTRL+R.CompleteWord Completes the c urrent word in the c ompletion list. W Edit. CTRL+T CTRL+T Edit. For example.5/10/2011 manual mode. CTRL+W CTRL+E. Command Description General Development. T Edit. Pre-defined Keyboard Shortcuts Edit.CharTranspose CTRL+T Swaps the c harac ters on either side of the c ursor. CTRL+K.BreakLine Inserts a new line. For more information. W Edit.CommentSelec tion Applies c omment c harac ters for the c urrent language to the current selec tion. C Edit. CTRL+W CTRL+E. CTRL+M or CTRL+E.aspx 11/28 . ENTER ENTER ENTER ENTER Edit. CTRL+C CTRL+K. moving. or formatting text in an open doc ument.ToggleWordWrap Enables or disables wordwrap in an editor. Visual Basic. CTRL+C CTRL+K. CTRL+H CTRL+K. Note In some editors. CTRL+H CTRL+K.ViewWhiteSpac e Shows or hides spac es and tab marks.ToggleTaskListShortcut Sets or removes a shortcut at the c urrent line.microsoft. where the user manually inserts the selec tion. CTRL+R. S Text Manipulation These shortcuts are for deleting. suc h as Design view of the HTML Designer. Web Visual C#. CTRL+M CTRL+M.CopyParameterTip Copies the CTRL+SHIFT+ALT+C parameter information displayed by IntelliSense to the Clipboard CTRL+SHIFT+ALT+C CTRL+SHIFT+ALT+C CTRL+SHIFT+ALT+C Edit. CTRL+C CTRL+K. CTRL+M.com/…/da5kh0wa. CTRL+W or CTRL+E. ENTER behaves differently depending on the context. AC| BD becomes AB|CD. see the documentation for the editor you are using. CTRL+H Edit. Visual Basic 6 Visual Studio 6 Visual C# 2005 Edit. CTRL+E. CTRL+H CTRL+K.

for the c urrent language.InsertSnippet Displays the Code Snippet Picker. CTRL+F ALT+F8 or CTRL+K. CTRL+K. TAB TAB TAB TAB Edit. that shows available Generate From Usage options for the selec ted identifier. CTRL+ENTER CTRL+ENTER CTRL+ENTER CTRL+ENTER Edit.FormatSelection Formats the current CTRL+K. CTRL+F selec tion ac cording to the indentation and code formatting settings spec ified on the Formatting pane in the Options dialog box. CTRL+L msdn. For more information. CTRL+M CTRL+K.Generate Opens a Smart Tag CTRL+. CTRL+X CTRL+K. CTRL+M Edit. CTRL+SHIFT+ENTER CTRL+SHIFT+ENTER CTRL+SHIFT+ENTER CTRL+SHIFT+ENTER Edit.com/…/da5kh0wa. For more information. CTRL+X Edit. Fn or CTRL+K.LineTranspose Moves the line that c ontains the c ursor below the next line. CTRL+. The selec ted code snippet will be inserted at the c ursor position. CTRL+M CTRL+K.ListMembers Invokes the IntelliSense c ompletion list. Pre-defined Keyboard Shortcuts Edit.GenerateMethodStub Creates a new method dec laration for the method c all that the c ursor is resting in.aspx 12/28 .InsertTab Indents the line of text a specified number of spaces. for the c urrent language. CTRL+F CTRL+E. Edit. CTRL+SHIFT+L CTRL+SHIFT+L CTRL+SHIFT+L or CTRL+SHIFT+M CTRL+SHIFT+L Edit. to the Clipboard.LineOpenAbove Inserts a blank line above the c ursor. CTRL+K. CTRL+X CTRL+K. or the current line if no selection has been made.LineDelete Deletes all selected lines. CTRL+X CTRL+K. see Code Snippets (C#). CTRL+J CTRL+J CTRL+J CTRL+J or CTRL+K.5/10/2011 the Formatting pane in the Options dialog box. CTRL+L CTRL+Y CTRL+L or CTRL+M CTRL+L Edit.microsoft. CTRL+M CTRL+K.LineOpenBelow Inserts a blank line below the c ursor. CTRL+F Edit. CTRL+. see Generate Method Stub. CTRL+.LineCut Cuts all selected lines. or the current line if nothing has been selec ted. SHIFT+ALT+T SHIFT+ALT+T SHIFT+ALT+T SHIFT+ALT+T Edit. CTRL+K.

ParameterInfo Displays the name. CTRL+A CTRL+K. U Edit. CTRL+A CTRL+K. CTRL+U Removes the c omment syntax from the current line of code. CTRL+S CTRL+K.com/…/da5kh0wa.WordDeleteToEnd Deletes the word to the right of the c ursor.UntabifySelectedLines Replac es tabs with spac es in selec ted text.SwapAnchor Swaps the anchor and end points of the current selec tion. Available only when you are working in text editors.WordTranspose Transposes the CTRL+SHIFT+T words on either side of the cursor. CTRL+DELETE CTRL+DELETE CTRL+DELETE CTRL+DELETE Edit. number. CTRL+SHIFT+Q Edit. CTRL+SHIFT+SPACEBAR CTRL+SHIFT+SPACEBAR CTRL+SHIFT+SPACEBAR CTRL+SHIFT+SPACEBAR or CTRL+SHIFT+I or CTRL+SHIFT+I or CTRL+K. CTRL+BACKSPACE CTRL+BACKSPACE CTRL+BACKSPACE CTRL+BACKSPACE Edit. CTRL+U CTRL+K. P Edit.TabifySelec tedLines Replac es spac es with tabs in the selec ted text.PasteParameterTip Pastes the CTRL+SHIFT+ALT+P previously copied parameter information from IntelliSense to the location indic ated by the cursor. |End Sub would be changed to read Sub End|.SurroundWith Displays the Code Snippet Picker. The selec ted code snippet will be wrapped around the selec ted text.Rename Displays the Rename dialog box. For more information. CTRL+SHIFT+T CTRL+SHIFT+T CTRL+SHIFT+T Refac tor. CTRL+K. CTRL+U or CTRL+E. CTRL+SHIFT+ALT+P CTRL+SHIFT+ALT+P Edit. Pre-defined Keyboard Shortcuts Edit.aspx 13/28 . CTRL+S CTRL+K. SHIFT+TAB SHIFT+TAB SHIFT+TAB Edit. A Edit.5/10/2011 insertion modes. CTRL+K.microsoft. CTRL+S CTRL+K. and type of parameters required for the specified method. CTRL+Q Edit.WordDeleteToStart Deletes the word to the left of the c ursor. CTRL+A CTRL+K. For example. CTRL+K. see Code Snippet Picker.UncommentSelec tion CTRL+K. which allows for renaming all referenc es for an F2 msdn.TabLeft Moves selected lines SHIFT+TAB to the left one tab stop. CTRL+U CTRL+K. S Edit. CTRL+A or CTRL+E.

and can be used anywhere in the IDE.ExecuteSQL Exec utes the query.microsoft.RebuildSolution Rebuilds the solution msdn. Available only in the Dataset Editor.Column Adds a new data c olumn to the bottom of the data set.BuildSolution Builds all the projec ts in the solution CTRL+SHIFT+B CTRL+SHIFT+B CTRL+SHIFT+B or F6 Build. QueryDesigner.JoinMode Enables JOIN mode. Available only in the Query and View Designer.BuildSelection Builds the selected projec t and its dependencies. CTRL+F7 linker directives. CTRL+T QueryDesigner. Available only in the Query and View Designer. Available only in the Query and View Designer. Pre-defined Keyboard Shortcuts Command Description All Keyboard Schemes Data. Available only in the Query and View Designer. external referenc es. Web Visual C#. CTRL+BREAK CTRL+BREAK Build. ALT+F5 QueryDesigner.Cancel Stops the current build. CTRL+4 QueryDesigner. Visual Basic 6 Visual C# 2005 Build.InsertColumn Inserts a new data c olumn above the selected c olumn in the data set.Results Displays the Results pane of the Query and View Designer. CTRL+ALT+F5 Data.com/…/da5kh0wa.Compile Creates an objec t file that c ontains machine c ode.StepInto Steps into debug mode for the currently active database objec t.CancelRetrievingData Canc els or stops the c urrently running query.Exec ute Runs the currently active database objec t. SHIFT+ALT+D Data. sec tions.SQL Displays the SQL pane of the Query and View Designer. Visual Visual Studio 6 Basic. CTRL+F7 Build.ShowDataSourc es Displays the Data Sources window.aspx 14/28 . Available only in the Query and View Designer. moves focus to the tool strip docked at the bottom of the designer. CTRL+R QueryDesigner. Available only in the Query and View Designer. Available only in the Query and View Designer. F6 Build.Diagram Displays the Diagram pane of the Query and View Designer.Criteria Displays the Criteria pane of the Query and View Designer. CTRL+SHIFT+J QueryDesigner.GoToRow When in the Results pane. CTRL+3 File and Project Operations These shortcuts are for file and project operations. INSERT Data. Command Description General Development. CTRL+2 QueryDesigner. and function/data names for the selec ted file. Available only in the Dataset Editor.5/10/2011 Data These shortcuts are for working with data in the IDE. CTRL+G QueryDesigner. Available only in the Query and View CTRL+1 Designer. CTRL+L Data.

Pre-defined Keyboard Shortcuts SHIFT+ALT+O CTRL+P SHIFT+ALT+O CTRL+P SHIFT+ALT+O CTRL+P SHIFT+ALT+O CTRL+P Displays the Print dialog box so that you can select printer settings. ESC ESC ESC Window. Visual C#.AddClass Displays the Add New Item dialog box and selec ts the Class template by default.AddResource Add a resource to c urrent project. which lets you add an existing file to the current project. Project. CTRL+F4 SHIFT+ESC CTRL+F4 SHIFT+ESC CTRL+F4 SHIFT+ESC Window.SaveAll Saves all doc uments in the c urrent solution and all files in the external files project.FullScreen Toggles Full Sc reen mode on and off.Doc k Returns a floating tool or document window to its most recent docked loc ation in the IDE.MovetoNavigationBar Moves the c ursor to the drop-down bar loc ated at the top of the c ode editor when the editor is in Code view or Server Code view. c ancels an operation in progress. SHIFT+ALT+ENTER SHIFT+ALT+ENTER SHIFT+ALT+ENTER Window. CTRL+S CTRL+S CTRL+S CTRL+S File.Properties Displays the Project Properties dialog box for the current project in the editing frame.5/10/2011 File. or puts focus in the current document window. closing. CTRL+SHIFT+S CTRL+SHIFT+S CTRL+SHIFT+S CTRL+SHIFT+S File. Closes the c urrent tool window.Override Lets you override base c lass methods in a derived class. File. CTRL+SHIFT+A CTRL+SHIFT+A CTRL+SHIFT+A or CTRL+D CTRL+SHIFT+A Project. Visual Studio 6 Visual Basic. Visual Basic 6 Visual C# 2005 View. Window.ViewinBrowser Displays in a Web browser the file that is selected in Solution Explorer or the file that has foc us in the editor.com/…/da5kh0wa.SaveSelectedItemsAs Displays the Save File As dialog box when items are selec ted in the editor.microsoft. whic h lets you add a new file to the current project.CloseToolWindow Closes the c urrent tab. or navigating in tool windows and doc ument windows.AddNewItem Displays the Add New Item dialog box.CloseDoc umentWindow Window. SHIFT+ALT+C Project. CTRL+ALT+INSERT CTRL+ALT+INSERT CTRL+ALT+INSERT Project.aspx 15/28 .Print Displays the Open Web Site dialog box. Window Management These shortcuts are for moving.AddExistingItem Displays the Add Existing Item dialog box.Rename Lets you modify the name of the item selec ted in Solution Explorer. SHIFT+ALT+A CTRL+D or SHIFT+ALT+A SHIFT+ALT+A or CTRL+SHIFT+D SHIFT+ALT+A Project. File. CTRL+SHIFT+W CTRL+SHIFT+W CTRL+SHIFT+W Project. Web. File.SaveSelectedItems Saves the selec ted items in the c urrent project. Command Description General Development. CTRL+F2 CTRL+F2 CTRL+F2 msdn.OpenWebSite File.ActivateDoc umentWindow Closes a menu or dialog box.

CTRL+W CTRL+K. where commands c an be invoked to make changes to the IDE.PreviousDocumentWindowNav Displays the IDE Navigator. CTRL+V CTRL+K. SHIFT+ALT+7 SHIFT+ALT+7 Tool Windows These shortcuts are for opening tool windows anywhere in the IDE.CodeDefinitionWindow Displays the Code Definition window. CTRL+W or CTRL+W. CTRL+K. Visual Studio 6 Visual C# Visual Basic. SHIFT+ALT+F6 SHIFT+ALT+F6 SHIFT+ALT+F6 Window. CTRL+B lets you searc h for and insert c ode snippets in files. with the previous doc ument window selec ted. CTRL+ALT+A or CTRL+ALT+A CTRL+W. CTRL+B CTRL+K. Command Description General Development. CTRL+\.ShowEzMDIFileList Displays a pop-up listing all open doc uments only. CTRL+B CTRL+K. A CTRL+ALT+A or CTRL+W.ClassViewGoToSearc hCombo Brings focus to the Class View Search box. Moves to the previous doc ument in the editor or designer. for writing Visual Studio Macros.aspx 16/28 .CallHierarchy Displays the Call Hierarchy window CTRL+ALT+K (General and Web) CTRL+ALT+K CTRL+ALT+K View. A msdn. CTRL+C CTRL+SHIFT+C CTRL+SHIFT+C or CTRL+W.5/10/2011 Window. Web.PreviousTab Moves to the previous tab in the document or window. CTRL+SHIFT+C CTRL+SHIFT+C or CTRL+W. see Code Snippets Manager. CTRL+W or CTRL+W. D CTRL+\. CTRL+/ Tools.PreviousSplitPane Moves to the previous pane of a document in splitpane view. Visual Basic 6 Visual C# 2005 Tools. CTRL+K. CTRL+V CTRL+K. CTRL+ALT+DOWN ARROW CTRL+ALT+DOWN ARROW CTRL+ALT+DOWN ARROW Window.Mac rosIDE Starts the Macros IDE. For more information.CommandWindow CTRL+ALT+A Displays the Command window. CTRL+B View. D View. CTRL+B CTRL+K. CTRL+C View. ALT+F7 ALT+F7 Window.PreviousPane Moves to the previously selected window. D CTRL+\. D CTRL+\. SHIFT+F6 SHIFT+F6 Window. CTRL+PAGE UP CTRL+PAGE UP CTRL+PAGE UP Window.microsoft. D or CTRL+W. CTRL+B Tools.GoToCommandLine Puts the pointer in the Find/Command box on the Standard toolbar. K CTRL+W. D or CTRL+W.PreviousToolWindowNav Displays the IDE Navigator with the previous tool window selected. CTRL+V View.NextToolWindowNav Pre-defined Keyboard Shortcuts Displays the IDE Navigator. K or CTRL+W.BookmarkWindow Displays the Bookmark window. CTRL+SHIFT+TAB CTRL+SHIFT+TAB CTRL+SHIFT+TAB Window. with the first tool window selected.CodeSnippetsManager Displays theCode Snippets Manager .PreviousDocumentWindow CTRL+SHIFT+F6 CTRL+SHIFT+F6 CTRL+SHIFT+F6 Window. CTRL+K.com/…/da5kh0wa. ALT+F11 ALT+F11 ALT+F11 View. CTRL+V CTRL+K.ClassView Displays the Class View window. whic h CTRL+K.

Command Description Visual C# Visual Basic. whic h contains controls and other items that can be included or used with your code.ToggleDesigner Displays the selec ted item in Code view of the editor. CTRL+ALT+X CTRL+ALT+X or CTRL+ALT+X CTRL+W.microsoft.WebBrowser Displays the Web Browser window. message queues. SHIFT+ALT+F7 SHIFT+ALT+F7 SHIFT+ALT+F7 Class Diagram These shortcuts are only for working with class diagrams. shortcuts. ALT+F8 ALT+F8 ALT+F8 ALT+F8 View. J or F2 CTRL+ALT+J View. W Window. CTRL+SHIFT+8 CTRL+SHIFT+8 CTRL+SHIFT+8 View. event logs. O View. CTRL+ALT+O or CTRL+ALT+O CTRL+W. T or CTRL+ALT+K CTRL+\. SHIFT+ALT+F7 Window. and other operating system servic es. Web servic es. S or CTRL+R CTRL+ALT+L or CTRL+R CTRL+ALT+L or CTRL+W. which lets you view and change database servers. G View. CTRL+SHIFT+E CTRL+SHIFT+E or CTRL+W. which lists the projec ts and files in the c urrent solution. W CTRL+ALT+R or CTRL+W. Q View.SolutionExplorer Displays Solution Explorer. T or CTRL+ALT+K CTRL+\.Output Displays the Output window to view status CTRL+ALT+O messages at run time. SHIFT+F4 SHIFT+F4 SHIFT+F4 SHIFT+F4 View.FindSymbolResults Pre-defined Keyboard Shortcuts Displays the Find Symbol Results window. which lists the design-time properties and events for the currently selected item. CTRL+\. R View. G CTRL+W.PropertyPages Displays the property pages for the currently selected item. and error messages. L View.Toolbox Displays the Toolbox. F4 F4 F4 or CTRL+W. All Other msdn.5/10/2011 View. T or CTRL+W. CTRL+ALT+R CTRL+ALT+R or CTRL+ALT+R CTRL+W.com/…/da5kh0wa. J or F2 CTRL+W.aspx 17/28 .PendingChec kins Displays the Pending Checkins window. L CTRL+ALT+S or CTRL+W.Mac roExplorer Displays the Macro Explorer window.Resourc eView Displays the Resource View window. CTRL+ALT+L CTRL+ALT+L or CTRL+W.PopBrowseContext Returns to the location that preceded the last browse operation.PreviousToolWindowNav Displays the IDE Navigator. T or CTRL+ALT+K (Visual Studio 6) CTRL+\. which lists all available mac ros in the current solution. S View. F7 (General and Web) View. whic h displays custom tasks. CTRL+ALT+S CTRL+ALT+S or CTRL+ALT+S CTRL+W.Objec tBrowser Displays the Object Browser.TaskList Displays the Task List window.ServerExplorer Displays Server Explorer. O CTRL+ALT+O or CTRL+W. CTRL+ALT+J (General and Web) or CTRL+ALT+B (Visual Studio 6) or F2 (Visual Studio 6) CTRL+W. Q CTRL+ALT+F12 CTRL+ALT+F12 or CTRL+W. with the previous tool window selected. T View. CTRL+W.PropertiesWindow Displays the Properties window.PreviousToolWindow Brings focus to the previous toolwindow. X View. which lets you view pages on the Internet. CTRL+ALT+F12 CTRL+ALT+F12 or CTRL+W. c omments. R CTRL+SHIFT+E CTRL+SHIFT+E or CTRL+W. warnings. X CTRL+ALT+X or CTRL+W. P View. T or CTRL+W.

Web. K CTRL+K.RemoveFromDiagram Removes the selec ted shape compartment from the diagram. CTRL+W CTRL+K. CTRL+W or CTRL+W. opens the corresponding file and puts the c ursor in the correc t loc ation. Command Description General Development.EnableBookmark Enables bookmark usage in c urrent document.NavigateToLollipop Selec ts the Interface Lollipop for a shape c ompartment. CTRL+B. CTRL+W or CTRL+W.ClearBookmarks Removes all bookmarks in all open documents.PreviousBookmarkInFolder If the c urrent bookmark is in a folder. If the c urrent bookmark is not in a folder.aspx 18/28 . For more information. see Bookmark Window. N CTRL+K. if Interface1 inherits from Interface2. CTRL+W or CTRL+W. N Edit. and Interfac e4. By using this command. If the Bookmark window contains folders. E Edit. Edit. B Edit. N CTRL+K. CTRL+L Edit. CTRL+P CTRL+K. If the c urrent bookmark is not in a folder. CTRL+SHIFT+N CTRL+SHIFT+K. CTRL+K CTRL+K.ToggleBoomark Toggles a bookmark on the current line in the doc ument. the parental interfac es are listed on the shape compartment for Interfac e1.microsoft. CTRL+K. CTRL+K or CTRL+T CTRL+K. CTRL+SHIFT+N Edit. CTRL+N CTRL+K.ViewCode For the selec ted item. CTRL+SHIFT+K. moves to the previous bookmark at the same level. CTRL+K or CTRL+T CTRL+K. bookmarks in folders are skipped. Bookmarks outside the folder are skipped. P Edit.PreviousBookmark Moves the c ursor to the location of the previous bookmark. N or CTRL+B. moves to the previous bookmark in that folder. CTRL+L CTRL+K. P CTRL+K. CTRL+SHIFT+K. CTRL+L CTRL+K. Interface3.5/10/2011 Pre-defined Keyboard Shortcuts SHIFT+ALT+B SHIFT+ALT+B SHIFT+ALT+B For example. you can c ollapse the list of inherited interfaces to show only summary information about the number of base interfaces inherited by Interfac e1. CTRL+SHIFT+P CTRL+SHIFT+P msdn. moves to the next bookmark in that folder. ENTER or F7 ENTER ENTER Bookmark Window These shortcuts are for working with bookmarks. Edit. Visual Basic 6 Visual C# 2005 Edit. DELETE DELETE DELETE View. CTRL+SHIFT+P CTRL+SHIFT+K.NextBookmarkInFolder If the c urrent bookmark is in a folder.NextBookmark Moves to the next bookmark in the document. Bookmarks outside the folder are skipped. Visual Studio 6 Visual C# Visual Basic.BookmarkWindow Displays the Bookmark window. The lollipop appears SHIFT+ALT+L SHIFT+ALT+L SHIFT+ALT+L on shapes that implement one or more interfac es. CTRL+K. CTRL+K. CTRL+K. CTRL+L CTRL+K. CTRL+SHIFT+K. CTRL+K. CTRL+K or CTRL+T View. P or CTRL+K. either in the Bookmarks window or in the editor.com/…/da5kh0wa. E CTRL+B.ExpandCollapseBaseTypeList Expands or c ollapses base types in the selec ted shape compartment. bookmarks in folders are skipped. B CTRL+K. If the Bookmark window contains folders. P CTRL+B. moves to the next bookmark at the same level. Edit. N or CTRL+B.

CTRL+J Image. CTRL+SHIFT+R Tools. ALT+F8 ALT+F8 ALT+F8 Tools.CopyandOutlineSelection Creates a copy of the c urrent selection and outlines it. Command Definition All Keyboard Schemes Image.Objec tBrowserBack Moves back to the previously selec ted object in the selection history of the Object Browser.EllipseTool Draws an ellipse that has the selected line width and color.aspx 19/28 . it will be exc luded if you have transparent selec ted.AirbrushTool Draws by using an airbrush with the selected size and c olor.RecordTemporaryMacro Puts the Visual Studio IDE in mac ro rec ord mode. for writing Visual Studio Mac ros. Web. For more information. F12 F12 or SHIFT+F2 SHIFT+F12 Edit. Visual C#. ALT+- View.Mac rosIDE Starts the Macros IDE.EraseTool Erases a part of the image (with the c urrent background c olor). whic h lists the available mac ros in the c urrent solution. size. Command Description General Development.GoToReference Edit. CTRL+A Image. or CTRL+. see Choosing a Transparent or Opaque Background. Visual C# 2005 Visual Basic.5/10/2011 Edit. CTRL+SHIFT+I Image.microsoft.GoToDefinition Pre-defined Keyboard Shortcuts Navigates to the declaration for the selec ted symbol in c ode.DrawOpaque Makes the current selection either opaque or transparent. Macro These shortcuts work with mac ros.QuickFindSymbol Searc hes for the object or member selec ted in the file and displays the matches in the Find Symbol Results window.com/…/da5kh0wa.Objec tBrowserGoToSearchCombo Places foc us in the Object Browser Search field. CTRL+SHIFT+P CTRL+SHIFT+P Image Editor These shortcuts work for the Image editor. and c olor. CTRL+B Image.RunTemporaryMacro Plays back a recorded macro. ALT+P Image. SHIFT+ALT+- View. Searc hes for referenc es to the object or member selec ted in the file and displays the matc hes in the Find Symbol Results window.FilledRec tangleTool Draws a filled rectangle. Visual Basic 6 Visual Studio 6 View. CTRL+SHIFT+U Image. ALT+F11 ALT+F11 Tools. CTRL+SHIFT+ALT+R msdn. If the bac kground color is in the current selec tion.BrushTool Draws by using a brush with the selec ted shape.FilledEllipseTool Draws a filled ellipse. SHIFT+ALT+F10 or SHIFT+ALT+F10 SHIFT+ALT+F10 CTRL+. or CTRL+. For more information. SHIFT+ALT+F12 SHIFT+ALT+F12 SHIFT+ALT+F12 View.Objec tBrowserForward Moves forward to the next objec t in the selection history of the Object Browser. CTRL+SHIFT+ALT+P Image. see Choosing a Transparent or Opaque Bac kground.Mac roExplorer Displays Macro Explorer.

To expand the brush size again. (See also Image.RectangleTool Draws a rectangle that has the selected line width and color. msdn. see Text Tool Dialog Box.PreviousColor Changes the drawing foreground c olor to the previous palette color. For more information. CTRL+SHIFT+M Image. CTRL+ALT+S Image. Image. ALT+R Image.SmallBrush Reduces the brush size to one pixel. CTRL+M Image.RoundedRec tangleTool Draws a round rectangle that has the selected line width and color. see Grid Settings Dialog Box.LargerBrush in this table. CTRL+LEFT ARROW or CTRL+[ Image. CTRL+T Image. SHIFT+ALT+S Image. INSERT Image.) CTRL+. c opy. CTRL+- Image. CTRL+L Image.NextColor Changes the drawing foreground c olor to the next palette color. CTRL+RIGHT ARROW or CTRL+] Image. For more information.ZoomIn Increases the magnification for the c urrent view.SmallerBrush in this table.OutlinedRoundedRectangleTool Draws a filled round rec tangle with an outline. CTRL+SHIFT+RIGHT ARROW or CTRL+SHIFT+] Image.Rotate90Degrees Rotates the image or selection 90 degrees.Magnify Toggles between the current magnification and 1:1 magnification.MagnificationTool Switches to the Magnify tool.NewImageType Opens the New <Device> Image Type dialog box with whic h you c an create an image for a different image type.RectangleSelec tionTool Selec ts a rectangular part of the image to move. ALT+W Image. For more information. SHIFT+ALT+P Image.PreviousRightColor Changes the drawing bac kground color to the previous palette c olor. whic h lets you to magnify specific sec tions of your image.ShowGrid Toggles the pixel grid (selec ts or c lears the Pixel grid option in the Grid Settings dialog box. size.OutlinedRec tangleTool Draws a filled rectangle with an outline SHIFT+ALT+R Image. Image. CTRL+U Image.NextRightColor Changes the drawing bac kground color to the next palette color. CTRL+SHIFT+LEFT ARROW or CTRL+SHIFT+[ Image.TextTool Opens the Text Tool dialog box. CTRL+UP ARROW or CTRL+SHIFT+. see Grid Settings Dialog Box.aspx 20/28 .UseSelectionasBrush Draws using the c urrent selec tion as a brush.SmallerBrush Reduces the brush size by one pixel in each direc tion. see New <Devic e> Image Type Dialog Box. For CTRL+SHIFT+ALT+S more information. CTRL+DOWN ARROW or CTRL+SHIFT+.microsoft. see Image.LineTool Pre-defined Keyboard Shortcuts Draws a straight line with the selec ted shape.ZoomOut Reduces the magnification of the c urrent view.ShowTileGrid Toggles the tile grid (selec ts or c lears the Tile grid option in the Grid Settings dialog box. SHIFT+ALT+W Image.LargerBrush and Image. CTRL+I Image. CTRL+SHIFT+H Image.OutlinedEllipseTool Draws a filled ellipse with an outline.Penc ilTool Draws using a single-pixel penc il. Image. and color. or edit.5/10/2011 Image.com/…/da5kh0wa.

and . Value. CTRL+R.ApplyCodeChanges Starts a build ALT+F10 that lets you use the Edit ALT+F10 msdn. For more information.microsoft. For more information. see Promote Loc al Variable to Parameter.bmp. For more information.wma. which lets you rename all references for an identifier. or construc tor parameter and updates the call sites c orrectly. indexer. and delegates. which lets you change the order of the parameters for CTRL+R.jpg. see Refac toring (C#).SelectionCancel Cancels the current selec tion ESC Resources. For more information.gif.5/10/2011 Edit. which displays image files in the c urrent projec t.mp3. CTRL+R. For more information.com/…/da5kh0wa. which lets you create a property from an existing field and updates all referenc es to use the new property. CTRL+5 Resources. see Extract Method Dialog Box. indexers. or interface.Audio Switches the Managed Resources editor to Audio view. Formats of displayed files include . Debugging These shortcuts are for debugging code. E Refac tor. Command Description General Development.wav.RemoveRow Pre-defined Keyboard Shortcuts Deletes the selec ted row in Other view and Strings view.Rename Displays the Rename dialog box. Visual Basic Visual C# 2005 6 Debug. Formats of CTRL+2 displayed files include .Images Switches the Managed Resources editor to Images view. derived from an existing c lass. see Reorder Parameters Dialog Box. indexers. see Remove Parameters Refactoring (C#). P Refac tor.RemoveParameters Displays the Remove Parameters dialog box.ExtractInterfac e Displays the Extract Interface dialog box.Icons Switches the Managed Resources editor to Icons view. For more information. Refac tor.ReorderParameters Displays the Reorder Parameters dialog box. Refac tor.PromoteLocalVariabletoParameter Moves a variable from a loc al usage to a method. CTRL+4 Resources. For more information. whic h removes parameters from methods. which displays sound files in the c urrent project. which displays a settings grid for adding other types that support string serialization. struc t. Command Description All Keyboard Schemes Refac tor. and . which displays files that are not found in the other views. V Refac tor. see Extract Interfac e Dialog I Box. CTRL+1 Refactoring (Visual C# Only) These shortcuts are for performing refactoring operations. and Comment of the string resource. CTRL+DELETE Edit. see Enc apsulate Field Dialog Box. see Rename Dialog Box. whic h displays ic on (*. or delegates by changing the dec laration at any locations where the member is called. which displays strings in a grid that has columns for the Name. Resources. For CTRL+R. whic h lets you create a method from the selec ted c ode. CTRL+6 Resources. These shortc uts are not available in any of the Visual Basic keyboard sc hemes.Files Switches the Managed Resources editor to Files view. R Refac tor. CTRL+3 Resources.ExtractMethod Displays the Extract Method dialog box. CTRL+R.ico) files in the current project.Strings Switches the Managed Resources editor to Strings view. .EncapsulateField Displays the Encapsulate Field dialog box. M more information. O methods. Web Visual C# Visual Basic. which lets you c reate a new interfac e that has members CTRL+R. CTRL+R. .Other Switches the Managed Resources editor to Other view.aspx 21/28 .

BreakatFunction Displays the New Breakpoint dialog box.Breakpoints Displays the Breakpoints dialog box. C Debug.5/10/2011 Pre-defined Keyboard Shortcuts window. Available only in Run mode. CTRL+B Debug. Debug. which displays a list of all active methods or stack frames for the c urrent thread of exec ution.com/…/da5kh0wa.DeleteAllBreakpoints Clears all the CTRL+SHIFT+F9 breakpoints in the projec t. CTRL+ALT+I CTRL+G or CTRL+ALT+I CTRL+G or CTRL+ALT+I CTRL+ALT+I or CTRL+D.Immediate Displays the Immediate window. CTRL+ALT+D Debug.Exceptions Displays the Exceptions dialog box. CTRL+SHIFT+F9 CTRL+SHIFT+F9 CTRL+SHIFT+F9 Debug.Disassembly CTRL+ALT+D Displays the Disassembly window.BreakAll CTRL+ALT+BREAK Temporarily stops exec ution of all processes in a debugging session.aspx 22/28 . and modify breakpoints.microsoft. CTRL+L or CTRL+ALT+C CTRL+L or CTRL+ALT+C CTRL+ALT+C or CTRL+D. CTRL+ALT+E CTRL+ALT+E CTRL+ALT+E CTRL+ALT+E or CTRL+D.CallStac k Displays the CTRL+ALT+C Call Stack window. E Debug. remove. CTRL+F9 CTRL+F9 Debug. where you c an add. CTRL+ALT+B CTRL+ALT+B CTRL+ALT+B CTRL+B or CTRL+D. I msdn. N Debug. which displays variables used in the c urrent line of c ode and the previous line of code. CTRL+B CTRL+B CTRL+B CTRL+B or CTRL+D. CTRL+BREAK CTRL+BREAK CTRL+ALT+BREAK Debug. where expressions c an be evaluated.EnableBreakpoint Toggles the breakpoint between disabled and enabled.

2 CTRL+ALT+M. 2 CTRL+ALT+M.Stac kFrameCombo Selects the Stac k Frame box on the Debug Location toolbar.Memory2 Displays the Memory 2 window to view large buffers. strings.Memory3 Displays the Memory 3 window to view large buffers. CTRL+ALT+M.LocationToolbar. and other data CTRL+ALT+M. 3 CTRL+ALT+M. CTRL+9 CTRL+9 CTRL+9 CTRL+9 Debug. 1 or CTRL+D. if it is open. and other data that do not display c learly in the Watch or Variables windows.com/…/da5kh0wa.ToggleFlaggedThreads Toggles whether to show all threads or only flagged threads in the Thread box on the Debug Location toolbar. CTRL+7 CTRL+7 CTRL+7 CTRL+7 Debug. 1 CTRL+ALT+M. Y Debug. strings.LocationToolbar.5/10/2011 on the Debug Location toolbar. 2 Debug. Pre-defined Keyboard Shortcuts Debug. 3 CTRL+ALT+M. if it is open. 3 CTRL+ALT+M.microsoft. CTRL+8 CTRL+8 CTRL+8 CTRL+8 Debug. CTRL+ALT+M.ToggleCurrentThreadFlaggedState Flags or unflags the c urrent thread in the Thread box on the Debug Location toolbar.aspx 23/28 . 1 CTRL+ALT+M. 2 CTRL+ALT+M. 3 msdn.LocationToolbar. and other data that do not display c learly in the Watch or Variables windows.Memory1 Displays the Memory 1 window to view large buffers.LocationToolbar. 1 CTRL+ALT+M. strings.ThreadCombo CTRL+6 Selects the Thread box on the Debug Location toolbar. if it is open. CTRL+6 CTRL+6 CTRL+6 Debug.

Modules Displays the Modules window.Processes Displays the Processes window. K Debug. ALT+5 (Web only) or CTRL+ALT+G CTRL+ALT+G CTRL+ALT+G or ALT+F5 (both Visual Basic 6 only) CTRL+ALT+G or CTRL+D.exe files that are used by the program. R msdn.ParallelStac ks Opens the Parallel Stac ks window. S CTRL+SHIFT+D. Use this c ommand to examine the c urrent value of a variable.QuickWatch Displays the CTRL+ALT+Q or QuickWatch SHIFT+F9 dialog box that has the c urrent value of the selected expression. CTRL+ALT+U CTRL+ALT+U CTRL+ALT+U CTRL+ALT+U Debug. K CTRL+SHIFT+D.Registers Displays the Registers window. CTRL+SHIFT+D.click and then c lick Show Modules for all Programs.ParallelTasks CTRL+SHIFT+D.5/10/2011 display c learly in the Watch or Variables windows. CTRL+SHIFT+D. which lets you view the .dll or . Available only in Break mode. K Opens the Parallel Tasks window. you c an right. Pre-defined Keyboard Shortcuts Debug. S CTRL+SHIFT+D. which displays registers c ontent for debugging native c ode applic ations. S or CTRL+ALT+D. CTRL+ALT+Q or SHIFT+F9 CTRL+ALT+Q or SHIFT+F9 CTRL+ALT+Q or SHIFT+F9 or CTRL+D. property. Q Debug.microsoft. S Debug. P Debug. K CTRL+SHIFT+D. Available in Run mode. CTRL+SHIFT+ALT+P (Web only) or CTRL+ALT+Z CTRL+ALT+Z CTRL+ALT+Z CTRL+ALT+Z or CTRL+D. In multiprocess debugging. S CTRL+SHIFT+D. or other expression for which you have not defined a watc h expression.aspx 24/28 .com/…/da5kh0wa. K or CTRL+ALT+D.

StepIntoSpec ific Exec utes the remaining lines of a SHIFT+ALT+F11 SHIFT+ALT+F11 SHIFT+ALT+F11 SHIFT+ALT+F11 msdn.ShowNextStatement Highlights the ALT+* (on the numeric keypad) next statement to be executed. Pre-defined Keyboard Shortcuts Debug. ALT+* (on the numeric keypad) ALT+* (on the numeric keypad) Debug. following exec ution into method c alls. starts the debugger and executes your c ode to the pointer loc ation. resumes exec ution of your c ode from the c urrent statement to the selec ted statement. In Design mode.SetNextStatement Sets the exec ution point to the line of code you selec t.StepIntoCurrentProcess Available from CTRL+ALT+F11 the Processes window.Start Launches the F5 applic ation under the debugger based off of the settings from the startup project. F11 F11 F8 or F11 F11 Debug. CTRL+SHIFT+F10 CTRL+SHIFT+F10 CTRL+F9 or CTRL+SHIFT+F10 CTRL+SHIFT+F10 Debug.StepInto Exec utes c ode one statement at a time. CTRL+ALT+F11 CTRL+ALT+F11 CTRL+ALT+F11 Debug. When in Break mode. CTRL+F5 CTRL+F5 CTRL+F5 CTRL+F5 Debug.microsoft.aspx 25/28 . invoking this c ommand will run the applic ation until the next breakpoint.com/…/da5kh0wa.StartWithoutDebugging Runs the c ode without invoking the debugger. The Current Line of Exec ution margin indicator appears in the Margin Indicator bar. F5 F5 F5 Debug.5/10/2011 mode.

microsoft. 1 CTRL+ALT+W.Watc h2 Displays the Watch2 window to view the values of selected variables or watc h expressions.Watc h1 Displays the Watch window. 2 Debug. F10 F10 SHIFT+F8 or F10 F10 Debug. 2 CTRL+ALT+W.aspx 26/28 . D Debug. 2 CTRL+ALT+W.5/10/2011 Pre-defined Keyboard Shortcuts does not follow exec ution through any method calls. CTRL+ALT+W. 3 Debug. W Debug. 4 CTRL+ALT+W. SHIFT+F5 CTRL+ALT+BREAK SHIFT+F5 Debug. which displays the values of selected variables or watc h expressions. F9 F9 F9 F9 Debug.StopDebugging Stops running SHIFT+F5 the c urrent applic ation under the debugger.Watc h4 Displays the Watch4 window to view the CTRL+ALT+W. 4 CTRL+ALT+W.com/…/da5kh0wa. 3 CTRL+ALT+W. 4 CTRL+ALT+W.StepOver Sets the exec ution point to the line of code you selec t.ToggleDisassembly Displays the CTRL+F11 disassembly information for the c urrent source file. Available only in Break mode. 3 CTRL+ALT+W. CTRL+ALT+W. CTRL+ALT+F10 CTRL+ALT+F10 CTRL+ALT+F10 Debug. CTRL+F11 CTRL+F11 or CTRL+D.ToggleBreakpoint Sets or removes a breakpoint at the c urrent line. 1 CTRL+ALT+W. 1 CTRL+ALT+W.Watc h3 Displays the Watch3 window to view the values of selected variables or watc h expressions.StepOverCurrentProcess Available from CTRL+ALT+F10 the Processes window. 3 CTRL+ALT+W. 1 or CTRL+D. CTRL+ALT+W. 2 CTRL+ALT+W. 4 msdn. Debug.

BreakpointsWindow. CTRL+R. CTRL+C Test.RunTestsInClass Runs all tests associated with the current class without attaching a debugger. CTRL+R.com/…/da5kh0wa. CTRL+R. CTRL+R. S ALT+F9. CTRL+N Test.GoToSourc eCode Goes to the loc ation of the selec ted breakpoint in the c ode file.DebugTestsInNamespace Runs all tests associated with the current namespace in Debug mode.DebugCheckedTests Runs all the tests listed and c hecked in the current result set in Debug mode. CTRL+T Test. CTRL+R. Command Description All Keyboard Schemes Test. CTRL+F TestResults.5/10/2011 Pre-defined Keyboard Shortcuts Disassembly settings only) window.RunTestsInNamespac e Runs all tests associated with the current namespace without attaching a debugger.RunAllTestsInSolution Runs all tests in the solution without attaching a debugger.Attac hToProcess Displays the Attach To Process dialog box.DebugAllTestsInTestResults Runs all the tests listed in the c urrent result set in Debug mode.RunAllTestsInTestResults Runs all the tests listed in the c urrent result set. CTRL+R. which lets you debug multiple programs at the same time in a single solution. ALT+F9. CTRL+R.RunTestsInCurrentContext Runs all tests associated with the current context without attaching a debugger. CTRL+R. Visual Basic sc hemes are not supported.DebugAllTestsInSolution Runs all tests in the solution in Debug mode. S Tools. C Test. CTRL+R. CTRL+R. F TestResults. CTRL+A Test. CTRL+R.microsoft.DebugTestsInCurrentContext Runs all tests associated with the current context in Debug mode. A Test.RunCheckedTests Runs all the tests listed and c hecked in the current result set. T Test. DebuggerContextMenus. CTRL+ALT+P CTRL+ALT+P CTRL+ALT+P CTRL+ALT+P Testing These shortcuts are for working with tests. S ALT+F9. N Test.DebugTestsInClass Runs all tests associated with the current class in Debug mode.TestResults. msdn. D Integrated Help These shortcuts are for viewing topics in Help and moving among them. CTRL+D TestResults. Available in the Breakpoints window only.aspx 27/28 . Available in the Breakpoints window only. S (General settings only) ALT+F9. CTRL+R.

5/10/2011 See Also Tasks How to: Work with Keyboard Shortc uts How to: List Current Keyboard Shortc uts Reference HTML Designer Objec t Browser Image Editor Other Resources Keyboard Shortcuts in Visual Studio Working with Settings Resourc es in .P. 1/26/2011 Z. msdn. It is very useful there for quick c ode fixes e.Generic.ShowSmartTag (SHIFT+ALT+F10) also works in code editor and should be listed in its sec tion.g.com/…/da5kh0wa.Collec tions.aspx 28/28 .ShowSmartTag keyboard shortcut also works in code editor The shortcut for View. adding appropriate using c lause (Imports in VB) for c ommonly-used namespac es like System. All rights reserved.microsoft.Karol © 2011 Microsoft.resx File Format Pre-defined Keyboard Shortcuts Community Content View.