Hi all, my name is Hubert A. Klein Ikkink. Not a very common name, right? To make things easier I just picked the first letters of my firstname and surname and came up with haki. So there you have it, now I am also known as Mr. Haki or mrhaki for short. You can read more blog postings at www.mrhaki.com. I am a passionate Groovy and Java developer based in Tilburg, The Netherlands. My goal is to write clean, elegant, user-centered and high quality software. You can find me on Google+ and Twitter. Hubert is a DZone MVB and is not an employee of DZone and has posted 162 posts at DZone. You can read more from them at their website. View Full User Profile

Pasting Content from Previous Copy or Paste Actions in IntelliJ IDEA

03.21.2013
| 2615 views |
  • submit to reddit

If we copy or cut a text selection in IntelliJ IDEA we can paste it directly from the clipboard with Cmd + V (Ctrl + V for Windows or Linux), just like in any other application. But we can also paste content from previous copy or cut actions. IntelliJ IDEA keeps track of our last 15 text selections that were placed on the clipboard. With the shortcut key Cmd + Shift + V (Ctrl + Shift + V for Windows or Linux) we can select an item from the clipboard buffer. IntelliJ IDEA opens a dialog window with all items in the buffer:

We can select the content we want to paste using the cursor keys, type in the number or start typing the first letters of the content. We select the OK button to paste the content in our editor:


IntelliJ IDEA 12 is used for this post.

 

Published at DZone with permission of Hubert Klein Ikkink, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)