How to retrieve clipboard history?

Hello everyone,
i am looking for the right way to access the clipboard history, to read or maybe even manipulate the content items displayed for selection also when using the "Paste from History" option.
Thank you in advance for any hints on which class is responsible for this.


Comment actions Permalink

See com.intellij.openapi.ide.CopyPasteManager#getAllContents

Comment actions Permalink

Hi Yann,
works like a charm :-) thank you for the quick advice!

P.S: i don't seem to find the option to mark the post as a question anymore, sorry for not marking the answer as helpful therefor.


Please sign in to leave a comment.