问题
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?
回答1:
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!
回答2:
I had the same problem and this is the way I fixed it: Go to: Settings > plugins and disable 'ideaVim' plugin
来源:https://stackoverflow.com/questions/33331304/how-to-make-ctrlv-work-in-clion