Export (0) Print
Expand All

Text Manipulation Shortcut Keys, Emacs Scheme 

Use the following shortcut key combinations in text editors to delete, move, or format text within an open document.

Command Shortcut keys Description

Edit.BreakLine

ENTER

Inserts a new line.

NoteNote

In some editors, like the 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.

Edit.ClearBookmarks

CTRL + SHIFT + F2

Removes all unnamed bookmarks in the current document.

Edit.CollapseTag

CTRL + M, CTRL + T

Hides the selected HTML tag and displays an ellipsis (. . .) in its place. You can view the entire tag as a tooltip by placing the mouse pointer over the . . ..

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 + I, CTRL + C

Marks the current line of code as a comment, using the correct comment syntax for the programming language.

Edit.CompleteWord

ALT + /

Displays Word Completion based on the current language.

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 cursor.

Edit.DeleteBlankLines

CTRL + X, CTRL + O

Deletes only the lines that do not contain text in the current selection.

Edit.DeleteHorizontalWhitespace

ALT + \

Collapses white space in the selection, or deletes white space adjacent to the cursor if there is no selection.

Edit.FormatSelection

ALT + F8

Correctly indents the selected lines of code based on the surrounding lines of code.

Edit.GenerateMethodStub

CTRL + K, CTRL + M

Creates a new method declaration for the method call that the cursor is resting in. Available only when working in C# code.

For more information, see Generate Method Stub.

Edit.HideSelection

CTRL + M, CTRL + H

Hides the selected text. A signal icon marks the location of the hidden text in the file.

Edit.InsertFileAsText

CTRL + X, I

Displays the Insert File dialog box, which allows you to select a file to copy into the current file as text.

Edit.InsertTab

TAB

Indents the line of text a specified number of spaces.

Edit.LineCut

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.ListMembers

CTRL + ALT + T

Lists members of the current class for statement completion when editing code.

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.ParameterInfo

CTRL + SHIFT + SPACEBAR

Displays a tool tip that contains information for the current parameter, based on the current language. Available only in Source view of the HTML Designer.

Edit.PasteParameterTip

CTRL + SHIFT + ALT + P

Pastes the previously copied parameter information from IntelliSense to the location indicated by the insertion point.

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.TabLeft

SHIFT + TAB

Moves selected lines to the left one tab stop.

Edit.TabifySelectedLines

CTRL + I, CTRL + T

Replaces spaces with tabs in the selected text.

Edit.ToggleAllOutlining

CTRL + M, CTRL + L

Toggles all previously marked hidden text sections between hidden and display states.

Edit.ToggleBookmark

CTRL + F2

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 + I, CTRL + H

Sets or removes a shortcut at the current line.

Edit.UncommentSelection

CTRL + I, CTRL + U

Removes the comment syntax from the current line of code.

Edit.UntabifySelectedLines

CTRL + I, CTRL + SHIFT + T

Replaces tabs with spaces in selected text.

Edit.ViewWhiteSpace

CTRL + SHIFT + 8

Shows or hides spaces and tab marks.

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, |End Sub would be changed to read Sub End|.

Community Additions

ADD
Show:
© 2015 Microsoft