shortcutmania.com

[ Printable HTML ]    [ Printable PDF ]   


Visual C# 2005 Keyboard Shortcuts
Global
ALT + ENTER Diagram.Properties: Switches focus from the diagram to the Properties window.
CTRL + C Edit.Copy: Copies the selected item to the Clipboard.
CTRL + X Edit.Cut: Deletes the selected item from the file and copies it to the Clipboard.
CTRL + Shift + V Edit.CycleClipboardRing: Pastes an item from the Clipboard ring to the insertion point in the file and automatically selects the pasted item. You can review each item on the Clipboard ring by repeatedly pressing the shortcut keys.
DELETE Edit.Delete: Deletes one character to the right of the insertion point.
CTRL + Shift + G Edit.OpenFile: Displays the Open File dialog box where you can select a file to open.
CTRL + V Edit.Paste: Inserts the Clipboard contents at the insertion point.
CTRL + Y Edit.Redo: Restores the previously undone action.
CTRL + Z Edit.Undo: Reverses the last editing action.
CTRL + P File.Print: Displays the Print dialog box where you can select printer settings.
CTRL + Shift + S File.SaveAll: Saves all documents in the current solution and all files in the external files project.
CTRL + S File.SaveSelectedItems: Saves the selected items in the current project.
CTRL + / Tools.GoToCommandLine: Puts the pointer in the Find/Command box on the Standard toolbar.
ALT + LEFT ARROW View.Backward: Displays the previous page in the viewing history. Available only in the Web Browser window.
F2 View.EditLabel: Lets you change the name of the selected item in Solution Explorer.
ALT + RIGHT ARROW View.Forward: Displays the next page in the viewing history. Available only in the Web Browser window.
F7 View.ViewCode: Displays the selected item in Code view of the editor.
Shift + F7 View.ViewDesigner: Displays the selected item in Designer view
HTML Designer
CTRL + B Format.Bold: Toggles the selected text between bold and plain. Available only in Design view.
CTRL + L Format.ConvertToHyperlink: When text is selected, displays the Hyperlink dialog box. Available only in Design view.
CTRL + Shift + L Format.InsertBookmark: Displays the Bookmark dialog box. Available only in Design view.
CTRL + I Format.Italic: Toggles the selected text between italic and plain. Available only in Design view.
CTRL + U Format.Underline: Toggles the selected text between underlined and plain. Available only in Design view.
CTRL + ALT + LEFT ARROW Layout.InsertColumntotheLeft: Adds one column to the left of the current column in the table. Available only in Design view.
CTRL + ALT + RIGHT ARROW Layout.InsertColumntotheRight: Adds one column to the right of the current column in the table. Available only in Design view.
CTRL + ALT + UP ARROW Layout.InsertRowAbove: Adds one row above the current row in the table. Available only in Design view.
CTRL + ALT + DOWN ARROW Layout.InsertRowBelow: Adds one row below the current row in the table. Available only in Design view.
CTRL + M, CTRL + C 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 + Shift + PERIOD View.AutoCloseTagOverride: Temporarily overrides the default close tag behavior for the current tag. For more information, see Tag Specific Options. Available only in Source view.
CTRL + Shift + Q View.Details: Displays icons for HTML elements that do not have a visual representation, such as comments, scripts, and anchors for absolutely positioned elements. Available only in Design view.
CTRL + M, CTRL + M View.EditMaster: Opens the *.master file in Source view. Available only in Design view.
CTRL + PAGE DOWN View.NextView: Switches among Design view, Source view, and Server Code view for the current document. Available in all views.
CTRL + ALT + Q View.NonVisualControls: Displays symbols for non-graphical elements such as div, span, form, and script elements. Available only in Design view.
Shift + ALT + F10 View.ShowSmartTag: Displays a smart tag menu of common commands for Web server controls. Available only in Design view.
Shift + F7 View.ViewDesigner: Switches to Design view for the current document. Available only in Source view.
Shift + F7 View.ViewMarkup: Switches to Source view for the current document. Available only in Design view.
CTRL + Q View.VisibleBorders: Displays a 1-pixel border around HTML elements that support a BORDER attribute that is set to zero. Examples of such HTML elements are tables, table cells, and divisions. Available only in Design view.
CTRL + PAGE UP Window.PreviousTab: Switches among Design view, Source view, and Server Code view for the current document. Available in all views.
XML Designer
CTRL + MINUS (-) Schema.Collapse: Collapses nested elements. Available only in Schema View of the XML Designer.
CTRL + EQUALS (=) Schema.Expand: Expands nested elements. Available only in Schema View of the XML Designer.
Control Manipulation
DOWN ARROW 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 in increments of 8 pixels on the design surface.
LEFT 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 in increments of 8 pixels on the design surface.
RIGHT 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 in increments of 8 pixels on the design surface.
UP 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.
TAB Edit.SelectNextControl: Moves to the next control on the page based on the Tabindex property of the control.
Shift + TAB Edit.SelectPreviousControl: Moves back to the previously selected control on the page.
ENTER Edit.ShowTileGrid: Displays the grid on the design surface.
Shift + DOWN ARROW Edit.SizeControlDown: Increases the height of the control in increments of 1 pixel on the design surface.
CTRL + Shift + DOWN ARROW Edit.SizeControlDownGrid: Increases the height of the control in increments of 8 pixels on the design surface.
Shift + LEFT ARROW Edit.SizeControlLeft: Reduces the width of the control in increments of 1 pixel on the design surface.
CTRL + Shift + LEFT ARROW Edit.SizeControlLeftGrid: Reduces the width of the control in increments of 8 pixels on the design surface.
Shift + RIGHT ARROW Edit.SizeControlRight: Increases the width of the control in increments of 1 pixel on the design surface.
CTRL + Shift + RIGHT ARROW Edit.SizeControlRightGrid: Increases the width of the control in increments of 8 pixels on the design surface.
Shift + UP ARROW Edit.SizeControlUp: Decreases the height of the control in increments of 1 pixel on the design surface.
CTRL + Shift + UP ARROW Edit.SizeControlUpGrid: Decreases the height of the control in increments of 8 pixels on the design surface.
Debugging
ALT + F10 Debug.ApplyCodeChanges: Starts a build that lets you use the Edit and Continue feature to apply changes to code that is being debugged.
CTRL + D, CTRL + A Debug.Autos: Displays the Auto window to view the values of variables currently in the scope of the current line of execution of the current procedure.
CTRL + ALT+ Break Debug.BreakAll: Temporarily stops execution of all processes in a debugging session. Available only in Run mode.
CTRL + D, CTRL + N Debug.BreakAtFunction: Displays the New Breakpoint dialog box.
CTRL + D, CTRL + B Debug.Breakpoints: Displays the Breakpoints dialog box, where you can add and modify breakpoints.
CTRL + D, CTRL + C Debug.CallStack: Displays the Call Stack window to display a list of all active procedures or stack frames for the current thread of execution. Available only in Run mode.
CTRL + Shift + F9 Debug.DeleteAllBreakpoints: Clears all the breakpoints in the project.
CTRL + ALT + D Debug.Disassembly: Displays the Disassembly window.
CTRL + F9 Debug.EnableBreakpoint: Switches the breakpoint from disabled to enabled.
CTRL + D, CTRL + E Debug.Exceptions: Displays the Exceptions dialog box.
CTRL + D, CTRL + I Debug.Immediate: Displays the Immediate window, where you can evaluate expressions and execute individual commands.
CTRL + D, CTRL + L Debug.Locals: Displays the Locals window to view the variables and their values for each procedure in the current stack frame.
CTRL + ALT + M, 1 Debug.Memory1: Displays the Memory 1 window to view large buffers, strings, and other data that do not display clearly in the Watch or Variables windows.
CTRL + ALT + M, 2 Debug.Memory2: Displays the Memory 2 window to view large buffers, strings, and other data that do not display clearly in the Watch or Variables windows.
CTRL + ALT + M, 3 Debug.Memory3: Displays the Memory 3 window to view large buffers, strings, and other data that do not display clearly in the Watch or Variables windows.
CTRL + ALT + M, 4 Debug.Memory4: Displays the Memory 4 window to view large buffers, strings, and other data that do not display clearly in the Watch or Variables windows.
CTRL + D, CTRL + M Debug.Modules: Displays the Modules window, which lets you view the .dll or .exe files used by the program. In multiprocess debugging, you can right-click and then click Show Modules for all Programs.
CTRL + D, CTRL + P Debug.Processes: Displays the Processes window. Available in Run mode.
CTRL + D, CTRL + Q Debug.QuickWatch: Displays the QuickWatch dialog box that has the current value of the selected expression. Available only in Break mode. Use this command to examine the current value of a variable, property, or other expression for which you have not defined a watch expression.
CTRL + D, CTRL + R Debug.Registers: Displays the Registers window, which displays registers content for debugging native code applications.
CTRL + Shift + F5 Debug.Restart: Ends a debugging session, rebuilds, and then starts running the application from the beginning. Available in Break and Run modes.
CTRL + F10 Debug.RunToCursor: In Break mode, resumes execution of your code from the current statement to the selected statement. The Current Line of Execution margin indicator appears in the Margin Indicator bar. In Design mode, starts the debugger and executes your code to the cursor location.
CTRL + ALT + N Debug.ScriptExplorer: Displays the Script Explorer window which lists the set of documents that you are debugging. Available in Run mode.
CTRL + Shift + F10 Debug.SetNextStatement: Sets the execution point to the line of code you choose.
ALT + NUM * Debug.ShowNextStatement: Highlights the next statement to be executed.
F5 Debug.Start: Automatically attaches the debugger and runs the application from the startup project specified in the
CTRL + F5 Debug.StartWithoutDebugging: Runs the code without invoking the debugger.
F11 Debug.StepInto: Executes code one statement at a time, following execution into function calls.
CTRL + ALT + F11 Debug.StepIntoCurrentProcess: Available from the Processes window.
Shift + F11 Debug.StepOut: Executes the remaining lines of a function in which the current execution point is located.
CTRL + Shift + ALT + F11 Debug.StepOutCurrentProcess: Available from the Processes window.
F10 Debug.StepOver: Executes the next line of code, but does not follow execution through any function calls.
CTRL + ALT + F10 Debug.SetpOverCurrentProcess: Available from the Processes window.
Shift + F5 Debug.StopDebugging: Stops running the current application in the program. Available in Break and Run modes.
CTRL + D, CTRL + T Debug.Threads: Displays the Threads window to view all the threads for the current process and information about them.
F9 Debug.ToggleBreakpoint: Sets or removes a breakpoint at the current line.
CTRL + D, CTRL + D Debug.ToggleDisassembly: Displays the disassembly information for the current source file. Available only in Break mode.
CTRL + ALT + W, 1 Debug.Watch: Displays the Watch1 window to view the values of selected variables or watch expressions.
CTRL + ALT + W, 2 Debug.Watch2: Displays the Watch2 window to view the values of selected variables or watch expressions.
CTRL + ALT + W, 3 Debug.Watch3: Displays the Watch3 window to view the values of selected variables or watch expressions.
CTRL + ALT + W, 4 Debug.Watch4: Displays the Watch4 window to view the values of selected variables or watch expressions.
ALT + F9, D DebuggerContextMenus.BreakpointsWindow.Delete: Removes the selected breakpoint. Available within the Breakpoints window only.
ALT +F9, A DebuggerContextMenus. BreakpointsWindow.GoToDisassembly: Displays the Disassembly window. Available within the Breakpoints window only.
ALT +F9, S DebuggerContextMenus. BreakpointsWindow.GoToSourceCode: Goes to the location of the selected breakpoint in the code file. Available within the Breakpoints window only.
CTRL + ALT + P Tools.AttachToProcess: Displays the Attach To Process dialog box, which lets you debug multiple programs at the same time in a single solution.
Data
CTRL + L Data.Column: Adds a new column to the bottom of the data set. Available only in the Dataset Editor.
CTRL + ALT + F5 Data.Execute: Runs the currently active database object.
INSERT Data.InsertColumn: Inserts a new column above the selected column in the data set. Available only in the Dataset Editor.
CTRL + Q Data.RunSelection: Runs the current selection in the SQL editor.
Shift + ALT + D Data.ShowDataSources: Displays the Data Sources window.
ALT + F5 Data.StepInto: Steps into debug mode for the currently active database object.
CTRL + T QueryDesigner.CancelRetrievingData: Cancels or stops the currently running query. Available only in the Query and View Designer.
CTRL + 2 QueryDesigner.Criteria: Displays the Criteria pane of the Query and View Designer. Available only in the Query and View Designer.
CTRL + 1 QueryDesigner.Diagram: Displays the Diagram pane of the Query and View Designer. Available only in the Query and View Designer.
CTRL + R QueryDesigner.ExecuteSQL: Executes the query. Available only in the Query and View Designer.
CTRL + G 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 + Shift + J QueryDesigner.JoinMode: Enables JOIN mode. Available only in the Query and View Designer.
CTRL + 4 QueryDesigner.Results: Displays the Results pane of the Query and View Designer. Available only in the Query and View Designer.
CTRL + 3 QueryDesigner.SQL: Displays the SQL pane of the Query and View Designer. Available only in the Query and View Designer.
CTRL + ALT + D View.Datasets: Displays the Report Datasets window of the Report Designer.
Text Navigation
LEFT ARROW Edit.CharLeft: Moves the insertion point one character to the left.
RIGHT ARROW Edit.CharRight: Moves the insertion point one character to the right.
CTRL + B, CTRL + C Edit.ClearBookmarks: Removes all unnamed bookmarks in the current document.
CTRL + END Edit.DocumentEnd: Moves the insertion point to the last line of the document.
CTRL + HOME Edit.DocumentStart: Moves the insertion point to the first line of the document.
CTRL + G Edit.GoTo: Displays the Go To Line dialog box.
CTRL + ] Edit.GoToBrace: Moves the insertion point to the next brace in the document.
DOWN ARROW Edit.LineDown: Moves the insertion point down one line.
END Edit.LineEnd: Moves the insertion point to the end of the current line.
HOME Edit.LineStart: Moves the insertion point to the start of the line.
UP ARROW Edit.LineUp: Moves the insertion point up one line.
CTRL + B, CTRL + N Edit.NextBookmark: Moves the insertion point to the location of the next bookmark.
CTRL + Shift + F12 Edit.NextError: Moves to the next error entry in the Error List window, which automatically scrolls to the affected section of text in the editor.
PAGE DOWN Edit.PageDown: Scrolls down one screen in the editor window.
PAGE UP Edit.PageUp: Scrolls up one screen in the editor window.
CTRL + B, CTRL + P Edit.PreviousBookmark: Moves the insertion point to the location of the previous bookmark.
CTRL + K, CTRL + I Edit.QuickInfo: Displays Quick Info, based on the current language.
CTRL + DOWN ARROW Edit.ScrollLineDown: Scrolls text down one line. Available in text editors only.
CTRL + UP ARROW Edit.ScrollLineUp: Scrolls text up one line. Available in text editors only.
CTRL + K, CTRL + K - or - CTRL + B, CTRL + T Edit.ToggleBookmark: Sets or removes a bookmark at the current line.
CTRL + PAGE DOWN Edit.ViewBottom: Moves to the last visible line of the active window.
CTRL + PAGE UP Edit.ViewTop: Moves to the first visible line of the active window.
CTRL + RIGHT ARROW Edit.WordNext: Moves the insertion point to the right one word.
CTRL + LEFT ARROW Edit.WordPrevious: Moves the insertion point to the left one word.
CTRL + Shift + 1 View.BrowseNext: Moves to the next definition, declaration, or reference of an item. Available in the Object Browser and Class View window.
CTRL + Shift + 2 View.BrowsePrevious: Moves to the previous definition, declaration, or reference of an item. Available in the Object Browser and Class View window.
CTRL + MINUS SIGN (-) View.NavigateBackward: Moves to the previously browsed line of code.
CTRL + Shift + MINUS SIGN (-) View.NavigateForward: Moves to the next browsed line of code.
CTRL + Shift + 8 View.PopBrowseContext: Moves to the previous item called in code in the current file.
CTRL + Shift + 7 View.ForwardBrowseContext: Moves to the next item called in code in the current file.
Text Selection
Shift + LEFT ARROW Edit.CharLeftExtend: Moves the cursor to the left one character, extending the selection.
Shift + ALT + LEFT ARROW Edit.CharLeftExtendColumn: Moves the cursor to the left one character, extending the column selection.
Shift + RIGHT ARROW Edit.CharRightExtend: Moves the cursor to the right one character, extending the selection.
Shift + ALT + RIGHT ARROW Edit.CharRightExtendColumn: Moves the cursor to the right one character, extending the column selection.
CTRL + Shift + END Edit.DocumentEndExtend: Selects the text from the cursor to the last line of the document.
CTRL + Shift + HOME Edit.DocumentStartExtend: Selects the text from the cursor to the first line of the document.
CTRL + Shift + ] Edit.GoToBraceExtend: Moves the cursor to the next brace, extending the selection.
Shift + DOWN ARROW Edit.LineDownExtend: Extends text selection down one line, starting at the location of the cursor.
Shift + ALT + DOWN ARROW Edit.LineDownExtendColumn: Moves the pointer down one line, extending the column selection.
Shift + END Edit.LineEndExtend: Selects text from the cursor to the end of the current line.
Shift + ALT + END Edit.LineEndExtendColumn: Moves the cursor to the end of the line, extending the column selection.
Shift + HOME Edit.LineStartExtend: Selects text from the cursor to the start of the line.
Shift + ALT + HOME Edit.LineStartExtendColumn: Moves the cursor to the start of the line, extending the column selection.
Shift + UP ARROW Edit.LineUpExtend: Selects text up, line by line, starting from the location of the cursor.
Shift + ALT + UP ARROW Edit.LineUpExtendColumn: Moves the cursor up one line, extending the column selection.
Shift + PAGE DOWN Edit.PageDownExtend: Extends selection down one page.
Shift + PAGE UP Edit.PageUpExtend: Extends selection up one page.
CTRL + A Edit.SelectAll: Selects everything in the current document.
CTRL + Shift + W Edit.SelectCurrentWord: Selects the word that contains the cursor or the word to the right of the cursor.
CTRL + EQUALS (=) Edit.SelectToLastGoBack: Select from the current location in the Editor back to the previous location in the Editor.
CTRL + Shift + PAGE DOWN Edit.ViewBottomExtend: Moves the cursor to the last line in view, extending the selection.
CTRL + Shift + PAGE UP Edit.ViewTopExtend: Extends the selection to the top of the active window.
CTRL + Shift + RIGHT ARROW Edit.WordNextExtend: Extends the selection one word to the right.
CTRL + Shift + ALT + RIGHT ARROW Edit.WordNextExtendColumn: Moves the cursor to the right one word, extending the column selection.
CTRL + Shift + LEFT ARROW Edit.WordPreviousExtend: Extends the selection one word to the left.
CTRL + Shift + ALT + LEFT ARROW Edit.WordPreviousExtendColumn: Moves the cursor to the left one word, extending the column selection.
Text Manipulation
ENTER Edit.BreakLine: Inserts a new line. Note In some editors, such as Design view of the HTML Designer, ENTER behaves differently depending on the context. For more information, see the documentation for the editor you are using.
CTRL + T Edit.CharTranspose: Swaps the characters on either side of the cursor. For example, AC|BD becomes AB|CD. Available only in text editors.
CTRL + M, CTRL + T Edit.CollapseTag: Hides the selected HTML tag and displays an ellipsis (. . .) instead. You can view the complete tag as a tooltip by putting the mouse pointer over the . . ..
CTRL + M, CTRL + O Edit.CollapseToDefinitions: Automatically determines logical boundaries for creating regions in code, such as procedures, and then hides them.
CTRL + E, CTRL + C Edit.CommentSelection: Marks the current line of code as a comment by using the correct comment syntax for the programming language.
CTRL + K, CTRL + W Edit.CompleteWord: Displays Word Completion based on the current language.
CTRL + Shift + ALT + C Edit.CopyParameterTip: Copies the parameter information displayed by IntelliSense to the Clipboard.
BACKSPACE Edit.DeleteBackwards: Deletes one character to the left of the cursor.
CTRL + E, CTRL + \ Edit.DeleteHorizontalWhitespace: Collapses white space in the selection, or deletes white space adjacent to the cursor if there is no selection.
CTRL +E, CTRL + D Edit.FormatDocument: Applies the indenting and space formatting for the language as specified on the Formatting pane of the language in the Text Editor section of the Options dialog box.
CTRL + E, CTRL + F Edit.FormatSelection: Correctly indents the selected lines of code based on the surrounding lines of code.
CTRL + K, CTRL + M Edit.GenerateMethodSub: Creates a new method declaration for the method call that the cursor is resting in. For more information, see Generate Method Stub.
CTRL + M, CTRL + H Edit.HideSelection: Hides the selected text. A signal icon marks the location of the hidden text in the file.
TAB Edit.InsertTab: Indents the line of text a specified number of spaces.
CTRL + K, CTRL + X Edit.InsertSnippet: Insert Code Snippet. For more information, see Code Snippets (C#).
CTRL + L Edit.LineCut: Cuts all selected lines, or the current line if nothing has been selected, to the Clipboard.
CTRL + Shift + L Edit.LineDelete: Deletes all selected lines, or the current line if no selection has been made.
CTRL + ENTER Edit.LineOpenAbove: Inserts a blank line above the cursor.
CTRL + Shift + ENTER Edit.LineOpenBelow: Inserts a blank line below the cursor.
Shift + ALT + T Edit.LineTranspose: Moves the line that contains the cursor below the next line.
CTRL + J Edit.ListMembers: Lists members of the current class for statement completion when you are modifying code.
CTRL + U Edit.MakeLowercase: Changes the selected text to lowercase characters.
CTRL + Shift + U Edit.MakeUppercase: Changes the selected text to uppercase characters.
INSERT Edit.OverTypeMode: Toggles between insert and overtype insertion modes. Available only when you are working in text editors.
CTRL + Shift + SPACEBAR Edit.ParameterInfo: Displays a tooltip that contains information about the current parameter, based on the current language. Available only in Source view of the HTML Designer.
CTRL + Shift + ALT + P Edit.PasteParameterTip: Pastes the previously copied parameter information from IntelliSense to the location indicated by the cursor.
CTRL + M, CTRL + U Edit.StopHidingCurrent: Removes the outlining information for the currently selected region.
CTRL + M, CTRL + P Edit.StopOutlining: Removes all outlining information from the whole document.
CTRL + E, CTRL + A Edit.SwapAnchor: Swaps the anchor and end points of the current selection.
Shift + TAB Edit.TabLeft: Moves selected lines to the left one tab stop.
CTRL + M, CTRL + L Edit.ToggleAllOutlining: Toggles all previously marked hidden text sections between hidden and display states.
CTRL + M, CTRL + M Edit.ToggleOutliningExpansion: Toggles the currently selected hidden text section between the hidden and display state.
CTRL + E, CTRL + T Edit.ToggleTaskListShortcut: Sets or removes a shortcut at the current line.
CTRL +E, CTRL + W Edit.ToggleWordWrap: Enables or disables wordwrap in an editor.
CTRL + E, CTRL + U Edit.UncommentSelection: Removes the comment syntax from the current line of code.
CTRL + E, CTRL + S - or - CTRL + R, CTRL + W Edit.ViewWhiteSpace: Shows or hides spaces and tab marks.
CTRL + DELETE Edit.WordDeleteToEnd: Deletes the word to the right of the cursor.
CTRL + BACKSPACE Edit.WordDeleteToStart: Deletes the word to the left of the cursor.
CTRL + Shift + T Edit.WordTranspose: Transposes the words on either side of the cursor. For example, |End Sub would be changed to read Sub End|.
Window Management
Shift + ALT + ENTER View.FullScreen: Toggles Full Screen mode on and off.
CTRL + MINUS (-) View.NavigateBackward: Goes back to the previous document or window in the navigation history.
CTRL + EQUALS (=) View.NavigateForward: Moves forward to the document or window next in the navigation history.
ESC Window.ActivateDocumentWindow: Closes a menu or dialog box, cancels an operation in progress, or puts focus in the current document window.
CTRL + F4 Window.CloseDocumentWindow: Closes the current MDI child window.
Shift + ESC Window.CloseToolWindow: Closes the current tool window.
CTRL + F2 Window.MoveToNavigationBar: Moves the pointer to the drop-down bar located at the top of the code editor when the editor is in Code view or Server Code view.
CTRL + F6 Window.NextDocumentWindow: Cycles through the MDI child windows one window at a time.
CTRL + TAB Window.NextDocumentWindowNav: Displays the IDE Navigator, with the first document window selected.
ALT + F6 Window.NextPane: Moves to the next tool window.
CTRL + PAGE DOWN Window.NextTab: Moves to the next tab in the document or window.
ALT + F7 Window.NextToolWindowNav: Displays the IDE Navigator, with the first tool window selected.
CTRL + Shift + F6 Window.PreviousDocumentWindow: Moves to the previous document in the editor or designer.
CTRL + Shift + TAB Window.PreviousDocumentWindowNav: Displays the IDE Navigator, with the previous document window selected.
Shift + ALT + F6 Window.PreviousPane: Moves to the previously selected window.
Shift + F6 Window.PreviousSplitPane: Moves to the previous pane of a document in split-pane view.
CTRL + PAGE UP Window.PreviousTab: Moves to the previous tab in the document or window.
Shift + ALT + F7 Window.PreviousToolWindowNav: Displays the IDE Navigator with the previous tool window selected.
CTRL + ALT + DOWN ARROW Window.ShowEzMDIFileList: Displays a pop-up listing all open documents only.
Integrated Help
CTRL + F1, CTRL + C Help.Contents: Displays the Contents window for the documentation that is contained in MSDN.
Ctrl + F1, CTRL + D Help.DynamicHelp: Displays Dynamic Help window.
F1 Help.F1Help: Displays a topic from Help that corresponds to the current user interface selected.
CTRL + F1, CTRL + F Help.HelpFavorites: Displays Help Favorites.
CTRL + F1, CTRL + h Help.HowDoI: Displays How Do I page that corresponds to the selected user settings.
CTRL + F1, I Help.Index: Displays the Index window for the documentation that is contained in MSDN.
Ctrl + F1, Ctrl + T Help.IndexResults: Displays the Index Results window
ALT + DOWN ARROW -or- ALT + RIGHT ARROW Help.NextTopic: Displays the next topic in the table of contents. Available only in the Help (Web) browser window.
ALT + UP ARROW OR ALT + LEFT ARROW Help.PreviousTopic: Displays the previous topic in the table of contents. Available only in the Help (Web) browser window.
CTRL + F1, CTRL + S Help.Search: Displays the Visual Studio Help page with the Search tab active. This page enables you to search for words or phrases in the documentation that is contained in MSDN.
CTRL + F1, CTRL + R Help.Searchresults: Displays the Visual Studio Help page with the Search tab and with the focus in the list of topics that the most recent search produced.
Shift + F1 Help.WindowHelp: Displays a topic from Help that corresponds to the current user interface.
Object Browser
ALT + F12 Edit.FindSymbol: Displays the Find Symbol pane of the Find and Replace dialog box.
CTRL + F12 Edit.GoToDeclaration: Displays the definition of the selected symbol in the code.
F12 Edit.GoToDefinition: Displays the declaration for the selected symbol in code.
Shift + ALT + F12 Edit.QuickFindSymbol: Searches for the object or member selected in the file and displays the matches in the Find Symbol Results window.
CTRL + ALT + J View.ObjectBrowser: Displays the Object Browser to view the classes, properties, methods, events, and constants available for packages, and the object libraries and procedures in your project.
Macros
ALT + F8 View.MacroExplorer: Displays Macro Explorer, which lists all available macros in the current solution.
ALT + F11 Tools.MacrosIDE: Starts the Macros IDE, Visual Studio Macros.
CTRL + Shift + R Tools.RecordTemporaryMacro: Puts the Visual Studio IDE in macro record mode.
CTRL + Shift + P Tools.RunTemporaryMacro: Plays back a recorded macro.
Tool Window
CTRL + K, CTRL + B Tools.CodeSnippetManager: Displays the Code Snippets Manager, which lets you search for and insert code snippets in files.
CTRL + W, CTRL + B View.BookmarkWindow: Displays the Bookmark window.
CTRL + W, CTRL + C View.ClassView: Displays the Class View window.
CTRL + K, CTRL + V View.ClassViewGoToSearchCombo: Changes focus in the Class View Search box.
CTRL + W, CTRL + D View.CodeDefinitionWindow: Displays the Code Definition window.
CTRL + W, CTRL + A View.CommandWindow: Displays the Command window, which lets you type commands that manipulate the integrated development environment (IDE).
CTRL + W, CTRL + U View.DocumentOutline: Displays the Document Outline window to view the flat or hierarchical outline of the current document.
CTRL + W, CTRL + E View.ErrorList: Displays the Error List window.
CTRL + W, CTRL + Q View.FindSymbolResults:
CTRL + W, CTRL + J View.ObjectBrowser:
CTRL + W, CTRL + O View.Output: Displays the Output window to view status messages at run time.
CTRL + W, CTRL + G View.PendingCheckins:
CTRL + W, CTRL + P View.PropertiesWindow: Displays the Properties window, which lists the design-time properties and events for the currently selected item.
Shift + F4 View.PropertyPages: Displays the property pages for the item currently selected.
CTRL + W, CTRL + R View.ResourceView: Displays the Resource View window.
CTRL + W, CTRL + L View.ServerExplorer: Displays Server Explorer, which lets you view and manipulate database servers, event logs, message queues, Web services, and other operating system services.
CTRL + W, CTRL + S View.SolutionExplorer: Displays Solution Explorer, which lists the projects and files in the current solution.
CTRL + W, CTRL + T View.TaskList: Displays the Task List window where you customize, categorize, and manage tasks, comments, shortcuts, warnings and error messages.
CTRL + W, CTRL + X View.Toolbox: Displays the Toolbox, which contains controls and other items that can be included or used with your code.
CTRL + W, CTRL + W View.WebBrowser: Displays the Web Browser window, which lets you view pages on the Internet.
Project
F6 Build.BuildSolution: Builds the solution.
CTRL + BREAK Build.Cancel: Stops the current build.
CTRL + F7 Build.Compile: Creates an object file that contains machine code, linker directives, sections, external references, and function/data names for the selected file.
CTRL + N File.NewFile: Displays the New File dialog box where you can select a new file to add to the current project.
CTRL + Shift + N File.NewProject: Displays the New Project dialog box.
CTRL + O File.OpenFile: Displays the Open File dialog box.
CTRL + Shift + O File.OpenProject: Displays the Open Project dialog box where you can add existing projects to your solution.
Shift + ALT + C Project.AddClass: Displays the Add New Item dialog box and selects Class template as default.
Shift + ALT + A Project.AddExistingItem: Displays the Add Existing Item dialog box, which lets you add an existing file to the current project.
CTRL + Shift + A Project.AddNewItem: Displays the Add New Item dialog box, which lets you add a new file to the current project.
CTRL + ALT + INSERT Project.Override: Lets you override base class methods in a derived class.
Image Editor
CTRL + A Image.AirBrushTool: Draws using an airbrush with the selected size and color.
CTRL + B Image.BrushTool: Draws using a brush with the selected shape, size, and color.
CTRL + Shift + U 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.
CTRL + J Image.DrawOpaque: Makes the current selection either opaque or transparent.
CTRL + P Image.EllipseTool: Draws an ellipse with the selected line width and color.
CTRL + Shift + I Image.EraserTool: Erases a part of the image (with the current background color).
CTRL + Shift + ALT + P Image.FilledEllipseTool: Draws a filled ellipse.
CTRL + Shift + ALT + R Image.FilledRectangleTool: Draws a filled rectangle.
CTRL + Shift + ALT + W Image.FilledRoundRectangleTool: Draws a filled round rectangle.
CTRL + F Image.FillTool: Fills an area.
CTRL + H Image.FlipHorizontal: Flips the image or selection horizontally.
Shift+ ALT + H Image.FlipVertical: Flips the image or selection vertically.
CTRL + = Image.LargerBrush: Increases the brush size by one pixel in each direction. To decrease the brush size, see Image.SmallerBrush in this table.
CTRL + L Image.LineTool: Draws a straight line with the selected shape, size, and color.
CTRL + M Image.MagnificationTool: Switches to the Magnify tool, which lets you to magnify specific sections of your image.
CTRL + Shift + M Image.Magnify: Toggles between the current magnification and 1:1 magnification.
INSERT Image.NewImageType: Opens the New
CTRL + ] - or - CTRL + RIGHT ARROW Image.NextColor: Changes the drawing foreground color to the next palette color.
CTRL + Shift + ] - or - Shift + CTRL + RIGHT ARROW Image.NextRightColor: Changes the drawing background color to the next palette color.
Shift + ALT + P Image.OutlinedEllipseTool: Draws a filled ellipse with an outline.
Shift + ATL + R Image.OutlinedRectangleTool: Draws a filled rectangle with an outline
Shift + ALT + W Image.OutlinedRoundRectangleTool: Draws a filled round rectangle with an outline.
CTRL + I Image.PencilTool: Draws using a single-pixel pencil.
CTRL + [ - or - CTRL + LEFT ARROW Image.PreviousColor: Changes the drawing foreground color to the previous palette color.
CTRL + Shift + [ - or - Shift + CTRL + LEFT ARROW Image.PreviousRightColor: Changes the drawing background color to the previous palette color.
Shift + ALT + S Image.RectangleSelectionTool: Selects a rectangular part of the image to move, copy, or edit.
ATL + R Image.RectangleTool: Draws a rectangle with the selected line width and color.
CTRL + Shift + H Image.Rotate90Degrees: Rotates the image or selection 90 degrees.
ALT + W Image.RoundedRectangleTool: Draws a round rectangle with the selected line width and color.
CTRL + ALT + S Image.ShowGrid: Toggles the pixel grid (selects or clears the Pixel grid option in the Grid Settings dialog box).
CTRL + Shift + ALT + S Image.ShowTileGrid: Toggles the tile grid (selects or clears the Tile grid option in the Grid Settings dialog box).
CTRL + . (PERIOD) Image.SmallBrush: Reduces the brush size to one pixel. (See also Image.LargerBrush and Image.SmallerBrush in this table.)
CTRL + - (MINUS) Image.SmallerBrush: Reduces the brush size by one pixel in each direction. To expand the brush size again, see Image.LargerBrush in this table.
CTRL + T Image.TextTool: Opens the Text Tool dialog box.
CTRL + U Image.UseSelectionAsBrush: Draws using the current selection as a brush.
CTRL + Shift + . (period) - or - CTRL + UP ARROW Image.ZoomIn: Increases the magnification for the current view.
CTRL + , (comma) - or - CTRL + DOWN ARROW Image.ZoomOut: Reduces the magnification of the current view.
Dialog Editor
CTRL + Shift + DOWN ARROW Format.AlignBottoms: Aligns the bottom edges of the selected controls with the dominant control.
Shift + F9 Format.AlignCenters: Aligns the vertical centers of the selected controls with the dominant control.
CTRL + Shift + LEFT ARROW Format.AlignLefts: Aligns the left edges of the selected controls with the dominant control.
F9 Format.AlignMiddles: Aligns the horizontal centers of the selected controls with the dominant control.
CTRL + Shift + RIGHT ARROW Format.AlignRights: Aligns the right edges of the selected controls with the dominant control.
CTRL + Shift + UP ARROW Format.AlignTops: Aligns the top edges of the selected controls with the dominant control.
CTRL + B Format.ButtonBottom: Positions the selected buttons along the bottom-center of the dialog box.
CTRL + R Format.ButtonRight: Positions the selected buttons in the top-right corner of the dialog box.
CTRL + Shift + F9 Format.CenterHorizontal: Centers the controls horizontally in the dialog box.
CTRL + F9 Format.CenterVertical: Centers the controls vertically in the dialog box.
CTRL + M Format.CheckMnemonics: Checks uniqueness of mnemonics.
Shift + F7 Format.SizeToContent: Resizes the selected control(s) to fit the caption text.
ALT + RIGHT ARROW Format.SpaceAcross: Evenly spaces the selected controls horizontally.
ALT + DOWN ARROW Format.SpaceDown: Evenly spaces the selected controls vertically.
CTRL + D Format.TabOrder: Sets the order of controls in the dialog box.
CTRL + T Format.TestDialog: Runs the dialog box to test appearance and behavior.
CTRL + G Format.ToggleGuides: Cycles among no grid, guidelines, and grid for dialog editing.
Search and Replace
CTRL + F Edit.Find: Displays the Quick tab of the Find and Replace dialog box.
CTRL + K, CTRL + R Edit.FindAllReferences: Displays the list of where to find all symbol references.
CTRL + Shift + F Edit.FindInFiles: Displays the In Files tab of the Find and Replace dialog box.
F3 Edit.FindNext: Finds the next occurrence of the previous search text.
CTRL + F3 Edit.FindNextSelected: Finds the next occurrence of the currently selected text in the document.
Shift + F3 Edit.FindPrevious: Finds the previous occurrence of the search text.
CTRL + Shift + F3 Edit.FindPreviousSelected: Finds the previous occurrence of the currently selected text, or the word at the insertion point.
CTRL + / Edit.GoToFindCombo: Puts the insertion point in the Find/Command box on the Standard toolbar.
CTRL + I Edit.IncrementalSearch: Starts incremental search. If incremental search is started, but you have not typed any characters, recalls the previous pattern. If text has been found, searches for the next occurrence.
CTRL + H Edit.Replace: Displays the replace options in the Quick tab of the Find and Replace dialog box.
CTRL + Shift + H Edit.ReplaceInFiles: Displays the replace options on the In Files tab of the Find and Replace dialog box.
CTRL + Shift + I Edit.ReverseIncrementalSearch: Changes the direction of incremental search to start at the bottom of the file and progress toward the top.
ALT + F3, S Edit.StopSearch: Stops the current Find in Files operation.
CTRL + W, CTRL + Q View.FindSymbolResults: Displays the Find Symbol Results window, which displays matches for symbols searches.
Refactoring
CTRL + R, CTRL + E Refactor.EncapsulateField: Displays the Encapsulate Field Dialog Box, which lets you create a property from an existing field and then updates your code to refer to the new property.
CTRL + R, CTRL + I Refactor.ExtractInterface: Displays the Extract Interface Dialog Box, which lets you create a new interface with members derived from an existing class, struct, or interface.
CTRL + R, CTRL + M Refactor.ExtractMethod: Displays the Extract Method Dialog Box, which lets you create a new method from a code fragment of an existing method.
CTRL + R, CTRL + P Refactor.PromoteLocalVariabletoParameter: Moves a variable from a local usage to a method, indexer, or constructor parameter and updates the call sites correctly. For more information, see Promote Local Variable to Parameter.
CTRL + R, CTRL + V Refactor.RemoveParameters: Displays the Remove Parameters dialog box, which removes parameters from methods, indexers, or delegates by changing the declaration at any locations where the member is called. For more information, see Remove Parameters.
F2 - or - CTRL + R, CTRL + R Refactor.Rename: Displays the Rename Dialog Box, which lets you rename identifiers for code symbols such as fields, local variables, methods, namespaces, properties, and types.
CTRL + R, CTRL + O Refactor.ReorderParameters: Displays the Reorder Parameters Dialog Box, which lets you change the order of the parameters for methods, indexers, and delegates.
Managed Resources Editor
F2 Edit.EditCell: Switches to edit mode in the selected cell in Other view and Strings view.
DELETE Edit.Remove: Removes the selected file in Files view, Images view, Icons view, and Audio view.
CTRL + DELETE Edit.RemoveRow: Deletes the selected row in Other view and Strings view.
CTRL + 4 Resources.Audio: Switches the Managed Resources editor to Audio view, which displays sound files in the current project. Formats of displayed files include .wav, .wma, and .mp3.
CTRL + 5 Resources.Files: Switches the Managed Resources editor to Files view, which displays files that are not found in the other views.
CTRL + 3 Resources.Icons: Switches the Managed Resources editor to Icons view, which displays icon (*.ico) files in the current project.
CTRL + 2 Resources.Images: Switches the Managed Resources editor to Images view, which displays image files in the current project. Formats of displayed files include .bmp, .jpg, and .gif.
CTRL + 6 Resources.Other: Switches the Managed Resources editor to Other view, which displays a settings grid for adding other types that support string serialization.
CTRL + 1 Resources.Strings: Switches the Managed Resources editor to Strings view, which displays strings in a grid with columns for the Name, Value, and Comment of the string resource.
Code Snippet
CTRL + K, CTRL + X Edit.InsertSnippet: Displays the Code Snippet Picker, which lets you select a snippet by using IntelliSense and then inserts the code snippet at the cursor position.
CTRL + K, CTRL + S Edit.SurroundWith: Displays the Code Snippet Picker, which lets you select a snippet by using IntelliSense and then wraps the snippet around the selected text.
CTRL + K, CTRL + B Tools.CodeSnippetsManager: Displays the Code Snippets Manager, which lets you search for and insert code snippets into files.
Class Diagram
NUM - (MINUS SIGN) ClassDiagram.Collapse: Collapses expanded nodes in the Class Details window or collapses the selected shape compartment in the diagram.
NUM + (PLUS SIGN) ClassDiagram.Expand: Expands collapsed nodes in the Class Details window or expands the selected shape compartment in the diagram.
CTRL + DELETE Edit.Delete: Removes the selected item from the class diagram.
Shift + ALT + B 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. With 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 + L Edit.NavigateToLollipop: Selects the Interface Lollipop for a shape compartment. The lollipop appears on shapes that implement one or more interfaces.
DELETE Edit.RemoveFromDiagram: Removes the selected shape compartment from the diagram.
ENTER - or - F7 View.ViewCode: For the selected item, opens the corresponding file and puts the insertion point in the correct location.
Bookmark Window
CTRL + B, CTRL + C Edit.ClearBookmarks: Removes all bookmarks in the document
CTRL + B, CTRL + E Edit.EnableBookmark: Enables bookmark usage in current document.
CTRL + B, CTRL + N Edit.NextBookmark: Moves to the next bookmark in the document.
CTRL + B, CTRL + P Edit.PreviousBookmark: Moves to the previous bookmark.
CTRL + B, CTRL + T Edit.ToggleBoomark: Toggles a bookmark on the current line in the document.
CTRL + W, CTRL + B View.BookmarkWindow: Displays the Bookmark window.
Accelerator and String Editor
INSERT Edit.NewAccelerator: Adds a new entry for a keyboard shortcut. Available only in the Accelerator editor.
INSERT Edit.NewString: Adds a new entry in the string table. Available only in the String editor.
CTRL + W Edit.NextKeyTyped: Displays the Capture Next Key message box, which prompts you to press the keys you intend to use as keyboard shortcuts. Available only in the Accelerator Editor.


blog comments powered by Disqus