Skip to content

Tip 1.2: How to cycle through the Clipboard ring to paste different things

August 5, 2014

“Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio“, courtesy of ‘Sara Ford’

Sara Ford’s Blog

Sara Aside

For her, this is yet another one of those moments where she exclaims, “Why can’t she ever remember this tip?! It would save her so much time! Argh!” But then again, every time she’s reminded about this tip, it’s like getting a little gift in the mail.

You can cycle through the past 20 items you’ve either cut or copied onto the Clipboard via Ctrl+Shift+V. Pretty cool, huh?

To illustrate, let’s suppose you have two Console.WriteLine() calls and you need to swap the two strings, as shown in the following example:

Start by cutting both strings: “My Love Marathon” first, and “Hello” second. Now go to the first Console. WriteLine() call. When you press Ctrl+Shift+V once inside the parentheses, you’ll get the following changes to the code:

Next, move to the second Console.WriteLine() call, and press Ctrl+Shift+V twice in a row. You’ll get this:

And you store up to 20 items before the Clipboard cycles, meaning that it’ll go back to the first item still recorded on the Clipboard. This is why the feature is called a Clipboard ring.

Happy Programming! =)

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: