Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make Ctrl+V work in CLion

Tags:

clion

I am having difficulty getting Ctrl+V to paste code in CLion (I am using version 1.1.1 for Windows). When I try to paste code copied using Ctrl+C from e.g. a website or another program, it only seems to work occasionally. Usually it pastes a piece of text that was not the most recently copied.

I use other JetBrains IDEs (IntelliJ IDEA, PyCharm) and have never had any problems with something so basic.

Has anybody else encountered this problem and found a solution to it?

like image 481
Paul Boddington Avatar asked Oct 25 '15 15:10

Paul Boddington


People also ask

How do I enable copy and paste in PyCharm?

Copy and Paste Between PyCharm and Explorer/FinderCopy selected text to the Clipboard. Cut to the Clipboard. Paste from the Clipboard. Move (drag) or copy ( Ctrl + drag) a file or directory from the file manager to a directory in the Project tool window.

How do I copy and paste in IntelliJ?

Press Ctrl+Alt+Shift+V or choose Edit | Paste | Paste as Plain Text from the main menu .

How do I copy an entire line in IntelliJ?

Duplicate the current line or selectionPress Ctrl+D or choose Edit | Duplicate Line or Selection from the main menu . Alternatively, you can press Ctrl+Shift+A , start typing the command name in the popup, and then choose it there.

How do I copy and paste?

To copy and paste, you can use keyboard shortcuts: PC: Ctrl + c for Copy, Ctrl + x for Cut, and Ctrl + v for Paste. Mac: ⌘ + c for Copy, ⌘ + x for Cut, and ⌘ + v for Paste.


1 Answers

I had the same problem and this is the way I fixed it:

  • Ctrl+Shift+V (brings up the clipboard history)
  • Delete all entries
  • Recopy what you wanted to paste from outside CLion
  • Try pasting again

Let me know if it didn't work for you so I can see if there is some step you are missing. Hope this helps!

like image 91
jcflinn14 Avatar answered Oct 03 '22 06:10

jcflinn14