Copy and pasting multiple items to the clipboard in IntelliJ IDEA

Viewed 7975

In IntelliJ IDEA, is it possible to have multiple items in your clipboard and choose which item to paste? What are the keyboard shortcuts?

4 Answers

On Windows, use CtrlShiftV and on Mac use ⌘ShiftV to see your clipboard history.

Change Stored History Size

Click ShiftShift, type Maximum number of contents to keep in clipboard, and then edit the value in the dialog.

enter image description here

To manually find the setting, open: Preferences -> Editor -> General and then in the Limits section of the main General page, increase Maximum number of contents to keep in clipboard. I changed mine to 50.

enter image description here

Alternatively, copy and paste multiple lines at once

You can select adjacent line content, random line/positions etc. with multi-caret selection.

Read how to here

enter image description here

to increase clipboard history max item: shift + shift search for 'registry' click on 'Registry...' search for 'clipboard.history.max.items' increase it's value

Related