command name |
shortcut Keys |
Description |
Edit. Collapse To Definition |
Ctrl + M,ctrl + O |
Automatically determines the logical boundaries (such as procedures) for creating zones in your code, and then hides them. |
Edit. Comment Selection |
Ctrl + K,ctrl + C |
Use the correct comment syntax for the programming language to mark the current line of code as a comment. (vc2003) |
Edit. Complete the word |
Ctrl + j Alt + RIGHT Arrow |
Displays the "full word" based on the current language. (vc2003) |
Edit. Delete |
Delete |
Deletes a character to the right of the cursor. |
Edit. Remove Backward |
Backspace Shift + Backspace |
Deletes a character to the left of the cursor. |
Edit. Remove horizontal whitespace |
Ctrl + K,ctrl + \ |
Collapses white space in the selection, or removes the white space next to the cursor if there is no selection. |
Edit. Format Document |
Ctrl + K,ctrl + D |
Applies indentation and space formatting to the language, as specified on the formatting pane of the language in the Text Editor section of the Options dialog box. |
Edit. Formatting the selection |
Alt + F8 Ctrl + K,ctrl + F |
Indents the selected lines of code correctly, based on the surrounding lines of code. (vc2003) (ALT + F8 call Macro Explorer) |
Edit. Hide Selection |
Ctrl + M,ctrl + H |
Hides the selected text. The signal icon marks the position of the hidden text in the file. |
editing. Inserting tabs |
Tab |
Indents a line of text by a specified number of spaces, such as 5. (This shortcut supports multi-line operations) |
Edit. Cut lines |
Ctrl + lshift + Alt + L |
Cuts all selected rows to the Clipboard, and cuts the current row to the Clipboard If nothing has been selected. (vc2003) (Shift + Alt + L does not work) |
Edit. Delete Rows |
Ctrl + Shift + L |
Deletes all selected rows, or deletes the current row if no rows are selected. |
Edit. Open New Line |
Ctrl + Enter |
Inserts a blank line above the insertion point. (regardless of where the cursor is on one line) |
Edit. Open New Line |
Ctrl + Shift + Enter |
Inserts a blank line below the insertion point. (so you don't have to first move the cursor to the beginning or end of the line) |
Edit. Line Transpose |
Shift + Alt + T |
Move the row that contains the insertion point below the next line. (Can be seen as two lines of exchange) |
Edit. Convert to Lowercase |
Ctrl + U |
Changes the selected text to lowercase characters. |
Edit. Convert to Uppercase |
Ctrl + Shift + U |
Changes the selected text to uppercase characters. |
Edit. Overtype mode |
Insert |
Toggles between inserting and overwriting insert modes. Available only when using a text editor. |
Edit. Stop hiding the current zone |
Ctrl + M,ctrl + U |
Removes the outlining information for the currently selected range. |
Edit. Stop Outlining |
Ctrl + M,ctrl + P |
Removes all outlining information from the entire document. |
Edit. Swap anchor Points |
Ctrl + R,ctrl + P |
Swaps the anchor point and end point of the current selection. |
Edit. Left Indent |
Shift + Tab |
Moves the selected row left one tab stop. (This shortcut supports multi-line operations) |
Edit. Toggle All Outline Display |
Ctrl + M,ctrl + L |
Toggles between hidden and displayed states all portions of text that were previously marked as hidden. |
Edit. Toggle Bookmarks |
CTRL + F2 CTRL + K,ctrl + K |
Sets or removes a bookmark at the current line. |
Edit. Toggle Outline Display Expand |
Ctrl + M,ctrl + M |
Toggles the currently selected hidden text portion between hidden and displayed states. |
Edit. Toggle Task List Shortcuts |
Ctrl + K,ctrl + H |
Sets or removes a shortcut at the current line. |
Edit. Toggle Line Wrapping |
Ctrl + R,ctrl + R |
Enables or disables line wrapping in the editor. |
Edit. Uncomment selection |
Ctrl + K,ctrl + U |
Removes the comment syntax from the current line of code. |
Edit. View Blank |
CTRL + Shift + 8 Ctrl + R,ctrl + W |
Show or hide spaces and tab markers. |
Edit. Word deletion until the end |
Ctrl + Delete |
Deletes the word to the right of the insertion point. |
Edit. Word Delete until start |
Ctrl + Backspace |
Deletes the word to the left of the insertion point. |
Edit. Word Transpose |
Ctrl + Shift + T |
Swap the words on either side of the insertion point. For example, the main int changes to int main. |