Text Editing and Selection
Shortcut | Menu equivalent | Action |
---|---|---|
Ctrl-C | Edit → Copy | Copies selected text to the clipboard. |
Ctrl-Ins | Copies the line the cursor is currently on to the clipboard. | |
Ctrl-X | Edit → Cut | Cuts selected text to the clipboard. |
Ctrl-L or Shift-Delete key | Cuts the line the cursor is currently on to the clipboard. | |
Ctrl-V or Shift-Ins | Edit → Paste | Pastes the current top text in the clipboard to the current cursor position in source code. |
Ctrl-Shift-Ins | Cycles through the contents on the clipboard ring, replacing and pasting each item to the current cursor position in the source code. | |
Delete key | Edit → Delete | Deletes the currently selected code. |
Ctrl-Shift-L | Deletes the line the cursor is currently on. | |
Ctrl-Y or Ctrl-Shift-Z | Edit → Redo | Redoes the previous action. |
Ctrl-A | Edit → Select All | Selects all text or controls in the main window. |
Ctrl-Shift-] | Selects the block of code delimited by the brace that the cursor is currently next to. | |
Ctrl-Z or Alt-Backspace | Edit → Undo | Undoes the previous action. |
Ctrl-period key or Shift-Alt-F10 | Shows the Smart Tag menu if it’s available for the current cursor position. | |
Ctrl-= | Selects the text between the cursor’s current and previous locations. | |
Backspace | Deletes the character to the left of the cursor. | |
Ctrl-Backspace | Deletes all characters to the left of the cursor in the current word. | |
Ctrl-Shift-Alt-C | Copies the parameter list for a method from the IntelliSense window that appears as you write a call to it. | |
Ctrl-Shift-Alt-P | Pastes the parameter list for a method from ... |
Get Programming ASP.NET 3.5, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.