In IntelliJ IDEA, is it possible to have multiple items in your clipboard and choose which item to paste? What are the keyboard shortcuts?
Yes, it is possible.
Whilst Ctrl + V is normally used to paste, use Ctrl + Shift + V (IntelliJ Default Key map) which will bring a pop-up of the items in the clipboard to paste.
The default size of the clipboard is 5; it will show the last five things have have been copied. The option to change this is called "Maximum number of contents to keep in clipboard". You can change it quickly by using Ctrl+Shift+A and typing the name of the setting.
to increase clipboard history max item: shift + shift search for 'registry' click on 'Registry...' search for 'clipboard.history.max.items' increase it's value
来源:https://stackoverflow.com/questions/1716793/copy-and-pasting-multiple-items-to-the-clipboard-in-intellij-idea