This documentation is archived and is not being maintained.

Using the Clipboard Ring

Visual Studio .NET 2003

The Code Editor captures all system Copy and Cut operations. If the cut or copied item contains text then it is stored in memory in the Clipboard Ring. You can view the contents of the Clipboard Ring by clicking the Clipboard Ring tab of the Toolbox. The clipboard recalls the last 15 text items that were cut or copied.

This is a powerful feature for quickly copying several pieces of text to a new location or for recalling text that you inadvertently cut.

To use the Clipboard ring

  1. Cut or copy some text from your code. Use CTRL+X to cut or CTRL+C to copy. The last item you cut or copy into the Clipboard Ring is the current item for pasting.
  2. Use CTRL+SHIFT+V to paste the Clipboard Ring's current item to the current document.
  3. Repeatedly press CTRL+SHIFT+V to cycle through the entries in the Clipboard Ring until you get to the one you want to permanently paste in the document. Each time you press CTRL+SHIFT+V, the Editor replaces the last entry you pasted from the Clipboard Ring so that you end up with only the last one you selected. The item you stop on then becomes the current item.
  4. Move to another location or cancel the selection. You can use CTRL+SHIFT+V to paste the current item again or cycle the Clipboard Ring to a new item.

See Also

Editing Code, HTML, and Text