Visual Studio Tips and tricks: Clipboard history
It's sometimes useful to copy multiple things to the clipboard and paste them later. However the clipboard can only contain 1 thing at a time. Visual Studio comes with a clipboard history which contains the 20 last items you copied to the clipboard.
To use it, press CTRL + SHIFT + V:
Visual Studio clipboard history
This is also available from the menu:
Accessing clipboard history from the menu
The clipboard history was introduced in Visual Studio 2003. At this time, it was called "Clipboard ring".
#Windows Clipboard history (Windows 10)
Windows also comes with a clipboard history, press WIN + V to use it. You first need to enable it from the settings (documentation). In VS 2019, the popup is not located under the cursor but it works.
Windows clipboard history
This post is part of the series 'Visual Studio Tips and Tricks'. Be sure to check out the rest of the blog posts of the series!
- View and edit the Tab Order of Windows Forms Controls
- Comparing files using Visual Studio
- Visual Studio Tips and tricks: Clipboard history (this post)
- Visual Studio Tips and tricks: Open recently closed files
- Visual Studio Tips and tricks: Multi-line and multi-cursor editing
- Visual Studio Tips and tricks: Extend/Reduce selection
- Visual Studio Tips and tricks: Undock/Re-dock a tool window
- Visual Studio Tips and tricks: Regex editing
- Visual Studio Tips and tricks: Find the current opened file in the solution explorer
- Visual Studio Tips and tricks: Default startup project
- Visual Studio Tips and tricks: Open the documentation of a symbol
- Visual Studio Tips and tricks: Paste as JSON
- Visual Studio Tips and tricks: Add project reference using drag & drop
- Visualizing the code coverage results from Azure Pipelines in Visual Studio
- Debugging a .NET assembly without the source code with Visual Studio
- Visual Studio Tips and tricks: Subword navigation
Do you have a question or a suggestion about this post? Contact me!