Copy and pasting multiple items to the clipboard in IntelliJ IDEA

吃可爱长大的小学妹 提交于 2020-01-02 01:02:17

问题


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


回答1:


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.




回答2:


Ctrl + Shift + V will bring up the popup like:

Press shift will help you to choose multiple paste items, then cllick OK.




回答3:


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!