Skip to content

Latest commit

 

History

History
425 lines (384 loc) · 84 KB

VC6KeysReference.md

File metadata and controls

425 lines (384 loc) · 84 KB

Visual C++ 6.0 Default Shortcut Keys

This section lists the default key combinations available for the Visual C++ 6.0 keyboard scheme present in Visual Studio 2010. This was copied from https://msdn.microsoft.com/en-us/library/58feksch(v=vs.100).aspx

Control Manipulation Shortcut Keys

Command name Shortcut keys Description
Edit.MoveControlDown DOWN ARROW
CTRL + DOWN ARROW
Moves the selected control down in increments of 1 on the design surface.
Edit.MoveControlDownGrid DOWN ARROW Moves the selected control down in increments of 8 on the design surface.
Edit.MoveControlLeft LEFT ARROW
CTRL + LEFT ARROW
Moves the control to the left in increments of 1 on the design surface.
Edit.MoveControlLeftGrid LEFT ARROW Moves the control to the left in increments of 8 on the design surface.
Edit.MoveControlRight RIGHT ARROW
CTRL + RIGHT ARROW
Moves the control to the right in increments of 1 on the design surface.
Edit.MoveControlRightGrid RIGHT ARROW Moves the control to the right in increments of 8 on the design surface.
Edit.MoveControlUp UP ARROW
CTRL + UP ARROW
Moves the control up in increments of 1 on the design surface.
Edit.MoveControlUpGrid UP ARROW Moves the control up in increments of 8 on the design surface.
Edit.SelectNextControl TAB Moves to the next control on the page.
Edit.SelectPreviousControl SHIFT + TAB Moves back to the previously selected control on the page.
Edit.SizeControlDown SHIFT + DOWN ARROW
CTRL + SHIFT + DOWN ARROW
Increases the height of the control in increments of 1 on the design surface.
Edit.SizeControlDownGrid SHIFT + DOWN ARROW Increases the height of the control in increments of 8 on the design surface.
Edit.SizeControlLeft SHIFT + LEFT ARROW
CTRL + SHIFT + LEFT ARROW
Reduces the width of the control in increments of 1 on the design surface.
Edit.SizeControlLeftGrid SHIFT + LEFT ARROW Reduces the width of the control in increments of 8 on the design surface.
Edit.SizeControlRight SHIFT + RIGHT ARROW
CTRL + SHIFT + RIGHT ARROW
Increases the width of the control in increments of 1 on the design surface.
Edit.SizeControlRightGrid SHIFT + RIGHT ARROW Increases the width of the control in increments of 8 on the design surface.
Edit.SizeControlUp SHIFT + UP ARROW
CTRL + SHIFT + UP ARROW
Decreases the height of the control in increments of 1 on the design surface.
Edit.SizeControlUpGrid SHIFT + UP ARROW Decreases the height of the control in increments of 8 on the design surface.

Database Tools Shortcut Keys

Command name Shortcut keys Description
Database.Run CTRL + E Executes the currently active database object.
Database.RunSelection CTRL + Q Executes the current selection in the SQL editor.
Database.StepInto ALT + F5 Steps into debug mode for the currently active database object.
Query.Run CTRL + R Executes the query.
View.Diagram CTRL + 1 Displays the Diagram pane of the Query Designer.
View.Grid CTRL + 2 Displays the Grid pane of the Query Designer. Available only in the Query Designer.
View.Results CTRL + 4 Displays the Results pane of the Query Designer.
View.SQL CTRL + 3 Displays the SQL pane of the Query Designer.

Debug Shortcut Keys

Command name Shortcut keys Description
Debug.ApplyCodeChanges ALT + F10 Apply changes made to code without stopping debug mode. See Edit and Continue for more information.
Debug.Autos CTRL + ALT + V, A Displays the Autos window to view the values of variables currently in the scope of the current line of execution within the current procedure. See Breaking Execution for more information.
Debug.BreakAll CTRL + ALT + BREAK Temporarily stops execution of all processes in a debugging session. Available only in run mode.
Debug.Breakpoints ALT + F9
CTRL + ALT + B
Displays the New Breakpoint dialog box, where you can add and modify breakpoints. See Using Breakpoints and Tracepoints for more information.
Debug.CallStack ALT + 7
CTRL + ALT + C
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. See How to: Use the Call Stack Window for more information.
Debug.ClearAllBreakpoints CTRL + SHIFT + F9 Clears all the breakpoints in the project.
Debug.Disassembly ALT + 8 Displays the Disassembly window. See How to: Use the Disassembly Window for more information.
Debug.EnableBreakpoint CTRL + F9 Enables breakpoint at the current line.
Debug.Exceptions CTRL + ALT + E Displays the Exceptions dialog box. See Continuing Execution After an Exception for more information.
Debug.Immediate CTRL + ALT + I Displays the Immediate window, where you can evaluate expressions and execute individual commands.
Debug.Locals ALT + 4
CTRL + ALT + V, L
Displays the Locals window to view the variables and their values for each procedure in the current stack frame.
Debug.Memory1 ALT + 6
CTRL + ALT + M, 1
Displays the Memory 1 window to view large buffers, strings, and other data that do not display clearly in the Watch or Variables window.
Debug.Memory2 CTRL + ALT + M, 2 Displays the Memory 2 window to view large buffers, strings, and other data that do not display clearly in the Watch or Variables window.
Debug.Memory3 CTRL + ALT + M, 3 Displays the Memory 3 window to view large buffers, strings, and other data that do not display clearly in the Watch or Variables window.
Debug.Memory4 CTRL + ALT + M, 4 Displays the Memory 4 window to view large buffers, strings, and other data that do not display clearly in the Watch or Variables window.
Debug.Modules CTRL + ALT + U Displays the Modules window, which allows you to view the .dll or .exe files used by the program. See How to: Use the Modules Window for more information.
Debug.NewBreakpoint CTRL + B Inserts or clears a breakpoint in the current line of code.
Debug.QuickWatch CTRL + ALT + Q
SHIFT + F9
Displays the QuickWatch dialog box with the current value of the selected expression. Available only in break mode. Use this command to check the current value of a variable, property, or other expression for which you have not defined a watch expression.
Debug.Registers ALT + 5
CTRL + ALT + G
Displays the Registers window, which displays registers content for debugging native-code applications. See How to: Use the Registers Window for more information.
Debug.Restart CTRL + SHIFT + F5 Terminates a debugging session, rebuilds, and then starts running the application from the beginning again. Available in break and run modes.
Debug.RunningDocuments CTRL + ALT + N Displays the Running Documents window, which displays the set of documents that are in the process you are debugging. Available in run mode.
Debug.RunToCursor CTRL + F10 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. See Run to the Cursor Location for more information.
Debug.SetNextStatement CTRL + SHIFT + F10 Sets the execution point to the line of code you choose. See Setting the Execution Point for more information.
Debug.ShowNextStatement ALT + NUM * Highlights the next statement to be executed.
Debug.Start F5 Automatically attaches the debugger and runs the application from the startup form specified in the <Project> Properties dialog box. Changes to Continue if in break mode.
Debug.StartWithoutDebugging CTRL + F5 Runs the code without invoking the debugger.
Debug.StepInto F11 Executes code one statement at a time, following execution into function calls. See Stepping Into for more information.
Debug.StepOut SHIFT + F11 Executes the remaining lines of a function in which the current execution point lies. See Stepping for more information.
Debug.StepOver F10 Executes the next line of code but does not follow execution through any function calls.
Debug.StopDebugging SHIFT + F5 Stops running the current application in the program. Available in break and run modes.
Debug.This CTRL + ALT + V, T Displays the This window, which allows you to view the data members of the object associated with the current method.
Debug.Threads CTRL + ALT + H Displays the Threads window to view all of the threads for the current process and information about them. See How to: Use the Threads Window for more information.
Debug.ToggleBreakpoint F9 Sets or removes a breakpoint at the current line.
Debug.ToggleDisassembly CTRL + F11 Displays the disassembly information for the current source file. Available only in break mode.
Tools.DebugProcesses CTRL + ALT + P Displays the Processes window, which allows you to debug multiple programs at the same time in a single solution. See How to: Use the Processes Window for more information.

Dialog Editor Shortcut Keys

Command name Shortcut keys Description
Edit.CheckMnemonics CTRL + M Checks for duplicate mnemonics in the dialog box.
Format.AlignBottoms CTRL + DOWN ARROW Aligns the selected controls horizontally with the bottom-most control selected on the dialog box.
Format.AlignCenters SHIFT + F9 Aligns the selected controls so that they are centered vertically on the dialog box.
Format.AlignLefts CTRL + LEFT ARROW Aligns the selected controls vertically with the left-most control selected on the dialog box.
Format.AlignMiddles F9 Aligns the selected controls so that they are centered horizontally on the dialog box.
Format.AlignRights CTRL + RIGHT ARROW Aligns the selected controls vertically with the right-most control selected on the dialog box.
Format.AlignTops CTRL + UP ARROW Aligns the selected controls horizontally with the top most control selected on the dialog box.
Format.ButtonBottom CTRL + B Aligns selected controls along the bottom edge of the dialog box.
Format.ButtonRight CTRL + R Aligns the selected controls along the right edge of the dialog box.
Format.CenterHorizontal CTRL + SHIFT + F9 Centers the control with the horizontal center of the dialog box.
Format.CenterVertical CTRL + F9 Centers the control with the vertical center of the dialog box.
Format.SizetoContent SHIFT + F7 Reduces or increases the size of the selected control to match the content of the control.
Format.SpaceAcross ALT + RIGHT ARROW
ALT + LEFT ARROW
Aligns the selected controls so that the controls are spaced evenly apart horizontally.
Format.SpaceDown ALT + UP ARROW
ALT + DOWN ARROW
Aligns the selected controls so that the controls are spaced evenly apart vertically.
Format.TabOrder CTRL + D Displays a number beside each control, indicating the order in which the controls are selected when you tab.
Format.TestDialog CTRL + T Displays a testable version of the current dialog box.

Global Shortcut Keys

Command name Shortcut keys Description
Edit.Copy CTRL + INSERT
CTRL + C
Copies the currently selected item to the system clipboard.
Edit.Cut SHIFT + DELETE
CTRL + X
Removes the currently selected item and places it on the system clipboard.
Edit.CycleClipboardRing CTRL + SHIFT + V
CTRL + SHIFT + INSERT
Removes the currently selected item and places it on the system clipboard.
Edit.ListMembers CTRL + ALT + T Lists members of current class for statement completion when editing code.
Edit.GotoNextLocation F8 Moves the cursor to the next item, such as a task in the Task List window or a search match in the Find Results window. Each time you press F8, you move to the next item in the list.
Edit.GotoPreviousLocation SHIFT + F8 Moves the cursor to the previous item in the Task List window or Find Results window.
Edit.GoToReference SHIFT + F12 Displays the reference of the selection in the code.
Edit.Paste CTRL + V SHIFT + INSERT Inserts the Clipboard contents at the insertion point.
Edit.Redo CTRL + Y
CTRL + SHIFT + Z
SHIFT + ALT + BACKSPACE
Restores the previously undone action.
Edit.SelectionCancel ESC Closes a menu or dialog box, cancels an operation in progress, or places focus in the current document window.
Edit.Undo CTRL + Z
ALT + BACKSPACE
Reverses the last editing action.
File.Print CTRL + P Displays the Print dialog box, where you can choose printer settings.
File.SaveAll CTRL + SHIFT + S Saves all documents in the current solution and any files in the external files project.
File.SaveSelectedItems CTRL + S Saves the selected items in the current project.
Tools.GoToCommandLine CTRL + / Places the caret in the Find/Command box on the Standard toolbar.
View.NextTask F4
CTRL + SHIFT + F12
Moves to the next task in the Task List window.
View.PopBrowseContext CTRL + NUM * Bookmarks your latest Go To definition or reference search.
View.PreviousTask SHIFT + F4 Moves to the previous task in the Task List window.
View.ViewCode CTRL + ALT + 0 Displays the selected item in Code view of the editor.
View.ViewDesigner SHIFT + F7 Displays the selected item in Design view of the editor.
View.WebNavigateBack ALT + LEFT ARROW Displays the previous page in the viewing history. Only available in the Web Browser window.
View.WebNavigateForward ALT + RIGHT ARROW Displays the next page in the viewing history. Only available in the Web Browser window.

HTML Designer Shortcut Keys

Command name Shortcut keys Description
Edit.ListMembers CTRL + J Lists members of current class for statement completion when editing code. Available only in HTML view.
Edit.ParameterInfo CTRL + SHIFT + SPACE Displays a tool tip that contains information for the current parameter, based on the current language. Available only in HTML view.
Edit.ViewBottom CTRL + PAGE DOWN Moves to the bottom of the current document. Available only in HTML view.
Edit.ViewTop CTRL + PAGE UP Moves to the top of the current window. Available only in HTML view.
Format.Bold CTRL + B Toggles the selected text between bold and normal. Available only in Design View.
Format.DecreaseIndent CTRL + SHIFT + T Decreases the selected paragraph by one indent unit. Available only in Design view.
Format.IncreaseIndent CTRL + T Indents the selected paragraph by one indent unit. Available only in Design view.
Format.Italic CTRL + I Toggles the selected text between italic and normal. Available only in Design view.
Format.LockElement CTRL + SHIFT + K Prevents an absolutely positioned element from being inadvertently moved. Available only in Design view.
Format.ShowGrid CTRL + G Toggles show grid. Only available in Design view.
Format.SnaptoGrid CTRL + SHIFT + G Specifies that elements are aligned using an invisible grid. You can set grid spacing on the HTML Designer Display page of the Options dialog box, and the grid will be changed the next time you open a document. Available only in Design view.
Format.Underline CTRL + U Toggles the selected text between underlined and normal. Available only in Design view.
Insert.Bookmark CTRL + SHIFT + L Inserts a bookmark at the selected location. Available only in Design view.
Insert.DIV CTRL + J Inserts <div></div> in the current HTML document. Available only in Design view.
Insert.Hyperlink CTRL + L When text is selected, displays the Hyperlink dialog box. Available only in Design view.
Insert.Image CTRL + SHIFT + W Displays the Insert Image dialog box. Available only available in Design view.
View.Details CTRL + SHIFT + Q Displays signal 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.
View.NextView CTRL + PAGE DOWN HTML Editor: Toggles between Design view and HTML view. XML Editor: Toggles between Data view and Schema view.
View.VisibleBorders CTRL + Q Displays a 1-pixel border around HTML elements that support a BORDER attribute and has it set to zero, such as tables, table cells, and divisions. Available only in Design view.

Image Editor Shortcut Keys

Command name Shortcut keys Description
Image.DrawOpaque CTRL + J Toggles the current selection to be rendered as either opaque or transparent.
Image.FlipHorizontal CTRL + H Flips the image from right to left on the horizontal axis. Available only in the Image editor. See Flipping an Image for more information.
Image.FlipVertical SHIFT + ALT + H Flips the image from top to bottom on the vertical axis. Available only in the Image editor. See Flipping an Image for more information.
Image.NewImageType INSERT Displays the New Icon Image Type dialog box, which allows you to select a new image type to create. Available only in the Image editor.
Image.Rotate90Degrees CTRL + SHIFT + H Rotates the image 90 degrees clockwise. Available only in the Image editor. See Flipping an Image for more information.

Integrated Help Shortcut Keys

Command name Shortcut keys Description
Help.Contents CTRL + ALT + F1 Displays the Contents window for the documentation contained in MSDN.
Help.DynamicHelp CTRL + F1 Displays the Dynamic Help window, which displays links to topics that are related to the item with current focus in the product.
Help.F1Help F1 Displays a topic from Help that corresponds to the current user interface selected.
Help.Index CTRL + ALT + F2 Displays the Index window for the documentation contained in MSDN.
Help.Indexresults SHIFT + ALT + F2 Displays the Index Results window, which lists the topics that contain the keyword selected in the Index window.
Help.Nexttopic ALT + DOWN ARROW Displays the next topic in the table of contents. Available only in the Help (Web) browser window.
Help.Previoustopic ALT + UP ARROW Displays the previous topic in the table of contents. Available only in the Help (Web) browser window.
Help.Search CTRL + ALT + F3 Displays the Search window, which allows you to search for words or phrases in the documentation contained in MSDN.
Help.Searchresults SHIFT + ALT + F3 Displays the Search Results window, which displays a list of topics that contain the string specified in the Look for box of the Search window.
Help.WindowHelp SHIFT + F1 Displays a topic from help that corresponds to the current user interface selected.

Macro Shortcut Keys

Command name Shortcut keys Description
Tools.MacrosIDE ALT + F11 Launches the Macros IDE, Visual Studio Macros.
Tools.RecordTemporaryMacro CTRL + SHIFT + R Places the environment in macro record mode.
Tools.RunTemporaryMacro CTRL + SHIFT + P Plays back a recorded macro.
View.MacroExplorer ALT + ` Displays the Macro Explorer window, which lists all available macros in the current solution.

Miscellaneous Editor Shortcut Keys

Command name Shortcut keys Description
Edit.NewAccelerator INSERT Adds a new entry for an accelerator key. Available only in the Accelerator editor.
Edit.NewString INSERT Adds a new entry in the string table. Available only in the String editor.

Object Browser Shortcut Keys

Command name Shortcut keys Description
Edit.FindSymbol ALT + F12
CTRL + SHIFT + Y
Displays the Find Symbol dialog box.
Edit.GoToDeclaration CTRL + F12
CTRL + ALT + F12
Displays the definition of the selected symbol in the code.
Edit.GoToDefinition F12 Displays the declaration for the selected symbol in code.
View.FindSymbolResults CTRL + ALT + Y Displays the Find Symbol Results window.
View.ObjectBrowser CTRL + ALT + J Displays the Object Browser to view the classes, properties, methods, events, and constants available for packages and object libraries and the procedures in your project.
View.ObjectBrowserBack ALT + - Moves back to the previously selected object in the selection history of the Object Browser.
View.ObjectBrowserForward SHIFT + ALT + - Moves forward to the next object in the selection history of the Object Browser.

Project Shortcut Keys

Command name Shortcut keys Description
Build.BuildSolution F7 Builds the solution.
Build.Cancel CTRL + BREAK Cancels the build in progress.
Build.Compile CTRL + F7 Creates an object file containing machine code, linker directives, sections, external references, and function/data names for the selected file.
File.NewFile CTRL + N Displays the New File dialog box where you can select a new file to add to the current project.
File.NewProject CTRL + SHIFT + N Displays the New Project dialog box where you can create projects and add them to the current solution.
File.OpenFile CTRL + O Displays the Open File dialog box where you can select to open an existing file.
File.OpenProject CTRL + SHIFT + O Displays the Open Project dialog box where you can add existing projects to your solution.
File.AddExistingItem SHIFT + ALT + A Displays the Add Existing Item dialog box, which allows you to add an existing file to the current project.
File.AddNewItem CTRL + SHIFT + A Displays the Add New Item dialog box, which allows you to add a new file to the current project.
Project.Override CTRL + ALT + INSERT Allows you to override base class methods in a derived class. Available for C#.

Search and Replace Shortcut Keys

Command name Shortcut keys Description
Edit.Find CTRL + F Displays the Find dialog box.
Edit.FindinFiles CTRL + SHIFT + F Displays the Find in Files dialog box.
Edit.FindNext F3 Finds the next occurrence of the previous search text.
Edit.FindNextSelected CTRL + F3 Finds the next occurrence of the currently selected text in the document.
Edit.FindPrevious SHIFT + F3 Finds the previous occurrence of the search text.
Edit.FindPreviousSelected CTRL + SHIFT + F3 Finds the previous occurrence of the currently selected text, or the word at the caret.
Edit.GoToFindCombo CTRL + D Places the caret in the Find/Command line on the Standard toolbar.
Edit.HiddenText ALT + F3, H Selects or clears the Search Hidden Text option for Find dialog box.
Edit.IncrementalSearch CTRL + I 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.
Edit.MatchCase ALT + F3, C Selects or clears the Match Case option for find and replace operations.
Edit.RegularExpression ALT + F3, R Selects or clears the Regular expression option so that special characters can be used in find and replace operations.
Edit.Replace CTRL + H Displays the Replace dialog box.
Edit.ReplaceinFiles CTRL + SHIFT + H Displays the Replace in Files dialog box.
Edit.ReverseIncrementalSearch CTRL + SHIFT + I Changes the direction of incremental search to begin at the bottom of the file and progress towards the top.
Edit.StopSearch ALT + F3, S Halts the current Find in Files operation.
Edit.Up ALT + F3, B Selects or clears the Search Up option for find and replace operations.
Edit.WholeWord ALT + F3, W Selects or clears the Match whole word option for find and replace operations.
Edit.Wildcard ALT + F3, P Selects or clears the Wildcard option for find and replace operations.

Text Manipulation Shortcut Keys

Command name Shortcut keys Description
Edit.BreakLine ENTER
SHIFT + ENTER
Inserts a new line.
Edit.CharTranspose CTRL + T Swaps the characters on either side of the insertion point. For example, AC
Edit.ClearBookmarks CTRL + SHIFT + F2
CTRL + K, CTRL + L
Removes all unnamed bookmarks in the current document.
Edit.CollapsetoDefinitions CTRL + M, CTRL + O Automatically determines logical boundaries for creating regions in code, such as procedures, and then hides them.
Edit.CommentSelection CTRL + K, CTRL + C Marks the current line of code as a comment, using the correct comment syntax for the programming language.
Edit.CompleteWord CTRL + SPACE
ALT + RIGHT ARROW
Displays Word Completion based on the current language.
Edit.Delete DELETE Deletes one character to the right of the cursor.
Edit.DeleteBackwards BACKSPACE
SHIFT + BACKSPACE
Deletes one character to the left of the cursor.
Edit.DeleteHorizontalWhiteSpace CTRL + K, CTRL + \ Collapses white space in the selection, or deletes white space adjacent to the cursor if no selection.
Edit.FormatDocument CTRL + K, CTRL + D 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.
Edit.FormatSelection ALT + F8
CTRL + K, CTRL + F
Correctly indents the selected lines of code based on the surrounding lines of code.
Edit.HideSelection CTRL + M, CTRL + H Hides the selected text. A signal icon marks the location of the hidden text in the file.
Edit.InsertTab TAB Indents the line of text a specified number of spaces, such as five.
Edit.LineCut CTRL + L
SHIFT + ALT + L
Cuts all selected lines, or the current line if nothing has been selected, to the clipboard.
Edit.LineDelete CTRL + SHIFT + L Deletes all selected lines, or the current line if no selection has been made.
Edit.LineOpenAbove CTRL + ENTER Inserts a blank line above the insertion point.
Edit.LineOpenBelow CTRL + SHIFT + ENTER Inserts a blank line below the insertion point.
Edit.LineTranspose SHIFT + ALT + T Moves the line containing the insertion point below the next line.
Edit.MakeLowercase CTRL + U Changes the selected text to lowercase characters.
Edit.MakeUppercase CTRL + SHIFT + U Changes the selected text to uppercase characters.
Edit.OvertypeMode INSERT Toggles between insert and overtype insertion modes. Available only when working in text editors.
Edit.StopHidingCurrent CTRL + M, CTRL + U Removes the outlining information for the currently selected region.
Edit.StopOutlining CTRL + M, CTRL + P Removes all outlining information from the entire document.
Edit.SwapAnchor CTRL + R, CTRL + P Swaps the anchor and end points of the current selection.
Edit.TabLeft SHIFT + TAB Moves selected lines to the left one tab stop.
Edit.ToggleAllOutlining CTRL + M, CTRL + L Toggles all previously marked hidden text sections between hidden and display states.
Edit.ToggleBookmark CTRL + F2
CTRL + K, CTRL + K
Sets or removes a bookmark at the current line.
Edit.ToggleOutliningExpansion CTRL + M, CTRL + M Toggles the currently selected hidden text section between the hidden and display state.
Edit.ToggleTaskListShortcut CTRL + K, CTRL + H Sets or removes a shortcut at the current line.
Edit.ToggleWordWrap CTRL + R, CTRL + R Enables or disables word wrap in an editor.
Edit.UncommentSelection CTRL + K, CTRL + U Removes the comment syntax from the current line of code.
Edit.ViewWhiteSpace CTRL + SHIFT + 8
CTRL + R, CTRL + W
Shows or hides spaces and tab marks.
Edit.WordDeleteToEnd CTRL + DELETE Deletes the word to the right of the insertion point.
Edit.WordDeleteToStart CTRL + BACKSPACE Deletes the word to the left of the insertion point.
Edit.WordTranspose CTRL + SHIFT + T Transposes the words on either side of the insertion point. For example, main int would be changed to read int main.

Text Navigation Shortcut Keys

Command name Shortcut keys Description
Edit.CharLeft LEFT ARROW Moves the cursor one character to the left.
Edit.CharRight RIGHT ARROW Moves the cursor one character to the right.
Edit.DocumentEnd CTRL + END Moves the insertion point to the last line of the document.
Edit.DocumentStart CTRL + HOME Moves the insertion point to the first line of the document.
Edit.GoTo CTRL + G Displays the Go To Line dialog box.
Edit.GotoBrace CTRL + ] Moves the insertion point to the next brace in the document.
Edit.LineDown DOWN ARROW Moves the cursor down one line.
Edit.LineEnd END Moves the cursor to the end of the current line.
Edit.LineStart HOME Moves the cursor to the beginning of the line.
Edit.LineUp UP ARROW Moves the cursor up one line.
Edit.NextBookmark F2
CTRL + K, CTRL + N
Moves to the next bookmark in the document.
Edit.PageDown PAGE DOWN Scrolls down one screen in the editor window.
Edit.PageUp PAGE UP Scrolls up one screen in the editor window.
Edit.PreviousBookmark SHIFT + F2
CTRL + K, CTRL + P
Moves to the previous bookmark.
Edit.QuickInfo CTRL + K, CTRL + I Displays Quick Info, based on the current language.
Edit.ScrollLineDown CTRL + DOWN ARROW Scrolls text down one line. Available in text editors only.
Edit.ScrollLineUp CTRL + UP ARROW Scrolls text up one line. Available in text editors only.
Edit.ShowTileGrid Ctrl + Shift + G Exposes the tile grid. Available in text editors only.
Edit.WordNext CTRL + RIGHT ARROW Moves the insertion point to the right one word.
Edit.WordPrevious CTRL + LEFT ARROW Moves the insertion point to the left one word.
View.BrowseNext CTRL + NUM +
CTRL + SHIFT + 1
Displays the next symbol reference or definition.
View.BrowsePrevious CTRL + NUM –
CTRL + SHIFT + 2
Displays the previous symbol reference or definition.

Text Selection Shortcut Keys

Command name Shortcut keys Description
Edit.CharLeftExtend SHIFT + LEFT ARROW Moves the cursor to the left one character, extending the selection.
Edit.CharLeftExtendColumn SHIFT + ALT + LEFT ARROW Moves the cursor to the left one character, extending the column selection.
Edit.CharRightExtend SHIFT + RIGHT ARROW Moves the cursor to the right one character, extending the selection.
Edit.CharRightExtendColumn SHIFT + ALT + RIGHT ARROW Moves the cursor to the right one character, extending the column selection.
Edit.DocumentEndExtend CTRL + SHIFT + END Selects the text from the insertion point to the last line of the document.
Edit.DocumentStartExtend CTRL + SHIFT + HOME Selects the text from the insertion point to the first line of the document.
Edit.GotoBraceExtend CTRL + SHIFT + ] Moves the insertion point to the next brace, extending the selection.
Edit.LineDownExtend SHIFT + DOWN ARROW Extends text selection down one line, starting at the location of the insertion point.
Edit.LineDownExtendColumn SHIFT + ALT + DOWN ARROW Moves the cursor down one line, extending the column selection.
Edit.LineEndExtend SHIFT + END Selects text from the insertion point to the end of the current line.
Edit.LineEndExtendColumn SHIFT + ALT + END Moves the insertion point to the end of the line, extending the column selection.
Edit.LineStartExtend SHIFT + HOME Selects text from the insertion point to the start of the line.
Edit.LineStartExtendColumn SHIFT + ALT + HOME Moves the insertion point to the start of the line, extending the column selection.
Edit.LineUpExtend SHIFT + DOWN ARROW
SHIFT + UP ARROW
Selects text up line by line starting from the location of the insertion point.
Edit.LineUpExtendColumn SHIFT + ALT + UP ARROW Moves the cursor up one line, extending the column selection.
Edit.PageDownExtend SHIFT + PAGE DOWN Extends selection down one page.
Edit.PageUpExtend SHIFT + PAGE UP Extends selection up one page.
Edit.SelectAll CTRL + A Selects everything in the current document.
Edit.SelectCurrentWord CTRL + W Selects the word containing the insertion point or the word to the right of the insertion point.
Edit.SelectToLastGoBack CTRL + = Select from the current location in the editor back to the previous location in the editor.
Edit.ViewBottomExtend CTRL + SHIFT + PAGE DOWN Moves the cursor to the last line in view, extending the selection.
Edit.ViewTopExtend CTRL + SHIFT + PAGE UP Extends the selection to the top of the current window.
Edit.WordNextExtend CTRL + SHIFT + RIGHT ARROW Extends the selection one word to the right.
Edit.WordNextExtendColumn CTRL + SHIFT + ALT + RIGHT ARROW Moves the cursor to the right one word, extending the column selection.
Edit.WordPreviousExtend CTRL + SHIFT + LEFT ARROW Extends the selection one word to the left.
Edit.WordPreviousExtendColumn CTRL + SHIFT + ALT + LEFT ARROW Moves the cursor to the left one word, extending the column selection.

Tool Window Shortcut Keys

Command name Shortcut keys Description
Tools.CommandWindowMarkMode CTRL + SHIFT + M Places the Command Window in a mode allowing for selection of text within the window.
View.ClassView CTRL + SHIFT + C Displays the Class View window.
View.CommandWindow CTRL + ALT + A Displays the Command window, which allows you to type commands that manipulate the IDE.
View.DocumentOutline CTRL + ALT + D Displays the Document Outline window to view the flat or hierarchical outline of the current document.
View.Favorites CTRL + ALT + F Displays Help Favorites, which lists shortcuts to Web pages.
View.Output ALT + 2
CTRL + ALT + O
Displays the Output window to view status messages at run time.
View.PropertiesWindow ALT + ENTER Displays the Properties window, which lists the design-time properties and events for the currently selected item.
View.ResourceView CTRL + SHIFT + E Displays the Resource View window.
View.ServerExplorer CTRL + ALT + S Displays the Server Explorer windows, which allows you to view and manipulate database servers, event logs, message queues, XML Web services, and many other operating system services.
View.SolutionExplorer CTRL + ALT + L Displays Solution Explorer, which lists the projects and files in the current solution.
View.TaskList CTRL + ALT + K Displays the Task List window where you customize, categorize, and manage tasks, comments, shortcuts, warnings and error messages.
View.Toolbox CTRL + ALT + X Displays the Toolbox, which contains controls and other items that can be included or used with your code.

Window Management Shortcut Keys

Command name Shortcut keys Description
View.FullScreen SHIFT + ALT + ENTER Toggles Full Screen mode on and off.
View.NavigateBackward CTRL + - Goes back to the previous document or window in the navigation history.
View.NavigateForward CTRL + SHIFT + - Moves forward to the document or window next in the navigation history.
Window.ActivateDocumentWindow ESC ALT + 0 Closes a menu or dialog box, cancels an operation in progress, or places focus in the current document window.
Window.CloseDocumentWindow CTRL + F4 Closes the current MDI child window.
Window.CloseToolWindow SHIFT + ESC Closes the current tool window.
Window.NextDocumentWindow CTRL + F6
CTRL + TAB
Cycle through the MDI child windows one window at a time.
Window.NextPane ALT + F6 Moves to the next tool window.
Window.NextSplitPane F6 Moves to the next pane of a split pane view of a single document.
Window.NextTab CTRL + PAGE DOWN Moves to the next tab in the document or window.
Window.PreviousDocumentWindow CTRL + SHIFT + F6
CTRL + SHIFT + TAB
Moves to the previous document in the editor or designer.
Window.PreviousPane SHIFT + ALT + F6 Moves to the previously selected window.
Window.PreviousSplitPane SHIFT + F6 Moves to the previous pane of a document in split pane view.
Window.PreviousTab CTRL + PAGE UP Moves to the previous tab in the document or window.

Obsolete Visual C++ 6.0 Key Commands

Visual C++ 6.0 key combination Visual C++ 6.0 command and scope Comment
Alt + 3 ActivateWatchWindow (View) No longer has a keyboard shortcut. See How to: Watch an Expression in the Debugger for more information. You can view the QuickWatch dialog box using SHIFT + F9.
Alt + F2 Bookmarks (Editing) To move to the next bookmark, type F2. To move to the previous bookmark, type SHIFT + F2. To insert a bookmark, type CTRL + SHIFT + L. To clear bookmarks, type CTRL + SHIFT + F2. To set or remove a bookmark on the selected line, type CTRL + F2.
Ctrl + K ConditionalDown This keyboard shortcut is no longer available.
Ctrl + Shift + J ConditionalUpExtend This keyboard shortcut is no longer available.
Alt + Shift + F11 DebugMemoryPrevFormat (Debugging) This keyboard shortcut is no longer available. To change to a different format, right-click the Memory window and select a format from the shortcut menu.
Ctrl + 7 InsertAcceleratorTable (Inserting) In the Accelerator Editor, type INSERT.
Ctrl + 5 InsertBitmap (Inserting) Use the New File or Add New Item dialog box.
Ctrl + 8 InsertStringTable (Inserting) Use the Add Resource dialog box.
Ctrl + 6 InsertToolbar (Inserting) Use the Add Resource dialog box.
Ctrl + 9 InsertVersionInfo (Inserting) Use the Add Resource dialog box.
Ctrl + Shift + B LayoutArrangeButtonsBottom (Layout) In the Dialog Editor, use CTRL + B (Format.ButtonBottom)
Alt + F7 ProjectSettings (Project) Use the Options dialog box to set options for your project.
Ctrl + Shift + F8 SelectColumn No longer supported. See Changing and Selecting Text.
Ctrl + G SelectDialogGuideType No longer supported. See Changing and Selecting Text.
Ctrl + F8 SelectLine (Editing) No longer supported. See Changing and Selecting Text.
Alt + Shift + L SentenceCut (Editing) No longer supported. See Changing and Selecting Text.

Changes to Visual C++ 6.0 Key Commands

Visual C++ 6.0 key combination Version 6.0 command(s) and scope Comment
CTRL + SHIFT + G FileGoTo (File) Obsolete.
CTRL + ALT + P ProjectSelectTool (Project) Obsolete.
ALT + 4 ActivateVariablesWindow (View) Displays the Locals window. See Variable Windows for more information.
CTRL + W ClassWizard (View) Obsolete. See Where Are ClassWizard and WizardBar in Visual C++ .NET? for more information.
ALT + F6 WindowDockingView (Window management) Obsolete. This key command now displays the next window pane. A window's ability to dock depends on the current view and the window type. See Window Types for more information.
CTRL + F11 DebugToggleMixedMode This command still toggles between the code and the disassembler, but you must be in Break mode to use the key combination.
Alt + F11 DebugMemoryNextFormat Obsolete. This key combination now opens the Macro Explorer.
F4 GoToNextErrorTag (Edit) You can double-click an error in the Output Window to locate it in the code editor. This global key command displays the next error.
SHIFT + F4 GoToPrevErrorTag (Edit) You can double-click an error in the Output Window to locate it in the code editor. This global key command displays the previous error.
CTRL + J ConditionalUp (Edit) Obsolete.
F8 SelectChar (Edit) Obsolete. You can use the StickyKeys accessibility feature to toggle selection mode. See Microsoft Windows Help for using this feature.
CTRL + T TypeInfo (Edit) Obsolete. In the text editor, this key combination now transposes selected characters. (Edit.CharTranspose)
ALT + UP ARROW LayoutSpaceEvenlyDown (Dialog Layout) Obsolete. Use CTRL + DOWN ARROW.
CTRL + B ImagePickupBrush (Image editor) Obsolete.
INSERT ImageNewDevice (Image editor) Obsolete.
CTRL + SHIFT + N ImageOutlinedRoundRectTool (Image editor) Obsolete.
CTRL + SHIFT + E ImageOutlinedEllipseTool (Image editor) Obsolete.
ALT + F12 Browse (Tools) Obsolete.
CTRL + 1 InsertDialog Obsolete. Use the Add Resource dialog box.
CTRL + 2 InsertMenu Obsolete. Use the Add Resource dialog box.
CTRL + 3 InsertCursor Obsolete. Use the Add Resource dialog box or use the Add New Item dialog box (CTRL + SHIFT + A) and from the Templates pane, select Cursor (.cur).
CTRL + 4 InsertIcon Obsolete. Use the Add Resource dialog box, or use the Add New Item dialog box (CTRL + SHIFT + A) and from the Templates pane, select Icon (.ico).
CTRL + R InsertResource Obsolete. Use the Add Resource dialog box, or use the Add New Item dialog box (CTRL + SHIFT + A) and from the Templates pane, select Resource file (.rc). To add an existing resource file, Use the Add Existing Item dialog box and locate the .rc file to add.