Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The following shortcut key combinations can be used in text editors to delete, move, or format text within an open document.
Command Name |
Shortcut Keys |
Description |
---|---|---|
Edit.BreakLine |
ENTER —or— SHIFT + ENTER |
Inserts a new line. |
Edit.CharTranspose |
CTRL + T |
Transposes the character or space to the left of the insertion point with the character or space on the right. For example, wor|d would become word. |
Edit.ClearBookmarks |
CTRL + K, CTRL + L |
Clears all bookmarks in the current document. |
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 + SPACEBAR —or— ALT + RIGHT ARROW |
Completes the rest of the word you are typing after you have typed enough characters for the editor to identify the word. |
Edit.CopyParameterTip |
CTRL + SHIFT + ALT + C |
Copies the parameter information displayed by IntelliSense to the Clipboard. |
Edit.DeleteBackwards |
BACKSPACE —or— SHIFT + BACKSPACE |
Deletes one character to the left of the insertion point. |
Edit.DeleteHorizontalWhitespace |
CTRL + K, CTRL + \ |
Collapses white space in the selection, or deletes white space adjacent to the insertion point if there is 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 —or— CTRL + K, CTRL + F |
Correctly indents the selected lines of code based on the surrounding lines of code. |
Edit.GenerateMethodSub |
CTRL + K, CTRL + M |
Creates a new method declaration for the method call that the insertion point is resting in. Available only when working in C# code. For more information, see Generate Method Stub. |
Edit.InsertTab |
TAB |
Inserts 4 spaces to the left of the insertion point in the document. |
Edit.LineCut |
CTRL + M —or— CTRL + L |
Cuts the line containing the insertion point. Available only in text editors. |
Edit.LineDelete |
CTRL + SHIFT + M —or— CTRL + SHIFT + L |
Deletes the line containing the insertion point. Available only in text editors. |
Edit.LineOpenAbove |
CTRL + ENTER |
Inserts a blank line above the insertion point. Available only in text editors. |
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 |
Types over any characters already in the document instead of inserting the characters. |
Edit.ParameterInfo |
CTRL + SHIFT + I —or— CTRL + SHIFT + SPACEBAR |
Displays a tooltip that contains information for the current parameter. |
Edit.PasteParameterTip |
CTRL + SHIFT + ALT + P |
Pastes the previously copied parameter information from IntelliSense to the ___location indicated by the insertion point. |
Edit.SwapAnchor |
CTRL + K, CTRL + A |
Swaps the anchor and end points of the current selection. |
Edit.TabifySelectedLines |
CTRL + Q |
Replaces spaces with tabs in the selected text. |
Edit.TabLeft |
SHIFT + TAB |
Moves selected lines left one tab stop. |
Edit.ToggleBookmark |
CTRL + K, CTRL + K |
Sets or removes a bookmark at the current line. |
Edit.ToggleTaskListShortcut |
CTRL + K, CTRL + H |
Sets or removes a shortcut at the current line. |
Edit.ToggleWordWrap |
CTRL + E, CTRL + W |
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.UntabifySelectedLines |
CTRL + SHIFT + Q |
Replaces tabs with spaces in selected text. |
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 word or line immediately right of the insertion point with the next word or line. For example, |End Sub would be changed to read Sub End|. |