Multiple copy and paste with Clipboard History
There are several approaches to a better copy and paste experience.
Typically, the most useful extension of a simple copy and paste operation is the ability to copy and paste multiple things, especially since we don’t have to worry about overwriting the clipboard before we need to paste something.
Some editors and extensions solve this problem with the more advanced concept of named registers where text can go and be taken back. While that’s certainly useful, sometimes simple approach can be enough.
Multiple copy and paste can also be achieved by keeping a history of all the texts that were copied. VSCode extension Clipboard History does exactly that. It automatically saves everything that is copied and allows the developer to paste things from the past using a shortcut like Ctrl + Shift + V
. The nice thing about it is that the normal copy and paste isn’t changed and, for most of the time, we can just forget about it. And when there is time to resurrect something from the clipboard history, all the saved items will be right there waiting for us.
There are other similar extensions, but Clipboard History is the one I have been using for a while, hence I am recommending it. Of course, sooner or later you might outgrow the simple approach. Until then, give it a try.
Let me know what you think,
Petr