How to make Ctrl+V work in CLion - 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?

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!

I had the same problem and this is the way I fixed it:
Go to: Settings > plugins and disable 'ideaVim' plugin

Related

How to get rid of that annoying text box that appears after an autocomplete inside of which VSCode's intellisense does not work?

I'm coding Golang in the screenshot. This box only appears after an auto-complete of a function or a struct happens and inside it the intellisense simply will not work.
How can I get rid of it? It's really bothering me and taking my time away in a somehow useless way because I just want to make use of the auto-complete but I have to press esc two times to turn off this box.
I couldn't reproduce your problem. I tried with Code 1.41.1 and ms-vscode.go plugin version 0.12.0 on a Mac.
BUT, I found this issue on vscode that works for me.
Basically, add the following to your settings. "editor.parameterHints": false

Cant write or delete two open curly brackets {{ in netbeans

I am using the PHP framework Laravel, which is the best PHP Framework, however If I try to write two {{ then it does not work, netbeans won't let me!
How can I write {{ in netbeans?
I just notice that I can also not delete them If I copy paste them in!
I can't even undo to remove it.
I am using the latest version of netbeans (8.2).
UPDATE #1:
After closing and reopening the file, it works again?
I think I experienced a strange bug.
UPDATE #2:
Today the same bug happened and closing and reopening did not helped
UPDATE #3:
It is a bug: https://netbeans.org/bugzilla/show_bug.cgi?id=268719
Try disabling the Knockout JS and AngularJS editor support plugins and restarting.
I had the same issue and found this solution on the bug tracker.
edit: Follow the screenshots attached to disable the plugins. I couldn't figure out how to change the language of my Netbeans to english, so I hope the screenshots are easy to follow.
Step-by-step screenshots
I ran into the same issue, and worse- unable do anything with double brackets or php tags. My suggestions:
Restart It's worked so far for me, but it's not a real solution.
External Editor You can try resolving any offending code in a basic text editor. But again, a bothersome workaround.
Autocomplete Options If you can recreate the problem, you can toy with disabling options under Tools > Options > Editor > Code Completion. (I would assume under PHP.) (I'll update if/when I run into it again.)
Different IDE: I love Netbeans, but support for Laravel just isn't there (yet?).
If you need a PHP Framework, Netbeans is equipped for quite a few. (You can see this under Tools > Options > PHP. You'll note Laravel is not listed.)
If you need Laravel, you may need a new IDE. This list is right off the top of Google, but it lists Netbeans, mostly due to the code completion add-on. https://www.dunebook.com/5-best-ide-laravel-ide-with-laravel-ide-helper/
I encounter this problem too, seems to be a bug on the NetBeans 8.2 as it never happened on my previous NetBeans versions.
A work around on this would be to
open a single curly brace first e.g href="{foo/bar"
close with two curly braces e.g href="{foo/bar}}"
Then go back and add the second opening brace. e.g href="{{foo/bar}}"
Hope it works for you and hope the bug get's fixed asap.
Sharing my quick workaround:
start by typing:
{}
select both braces
drag the selected text (the two braces) with the mouse, so cursor will be between the two braces.
press Ctrl (to copy instead of move)
"drop" it (release the mouse).
you should now have:
{{}}

CLion does not paste the correct snippet from clipboard

while having used Java and PHP most of the time in my programming "carreer", I am now trying to learn C++ more in-depth. For that, I am using CLion as my IDE - mostly because I am very familiar with phpStorm and IntelliJ IDEA and I don't want to "learn" a new IDE in addition to learning a new language.
Now, I have hit the problem, that CLion does not take my current Clipboard content when pressing Ctrl + V. The snippet was copied from the Browser (Firefox 41.0.1) and it neither works with code copied by Ctrl + C nor with code copied by rightclicking and then selecting Copy.
It seems like the IDE has problems with getting the Clipboard content from the outside, because when copying and pasting inside the IDE, it works perfectly fine. Only when trying to paste something from another program, it ignores it and pastes something that I copied inside the IDE before.
Do you have any clues on how to fix that? Is it a bug or did I mess up something in my settings or somewhere else?
Clearing "Paste from History" (Ctrl + Shift + V) worked for me.
Same issue with Chrome version 47.0.2526.106.
It seems like that the problem happens when more then one Clion project window is open. After resetting the clion clipboard the problem will not occur during the session again. But after starting a new Clion session the bug is back in place.
Added on 27th december: It also happens when you are only working with one window and stored 5 values in the clion clipboard.
For me works only using middle mouse button for paste.
There sometimes is a notification when you try to use several shortcuts that this is already taken by some VIM Commands and if you want to disable this. Selecting yes didn't change a thing for me.
But using that hint, going to File>Settings>Plugins, disabling IdeaVIM and than restarting did the job.
Fabrizios answered on the duplicate item something, that was partly helpful for me: Ctrl+Shift+V brings up the clipboard history)
This still left me with the actual problem (Ctrl+C, Ctrl+V and more not working).

get to bottom of page in Chrome with Keyboard-shortcut

I used to get to the bottom of a webpage by pressing CMD+Keydown. Did they remove this shortcut or is it just me?
I know this used to work not too long ago and it's not working since one of the newer versions... (currently Version 31.0.1650.57)
CMD+Keyup still works just fine.
So I finally got around the problem:
An extension I was using got some automatic update, in this it used CMD+Keydown as a shortcut for the extension, which overwrote the default behavior.
The problem hereby was, that the programmer was not done, so he "seized" the shortcut, but was not using it for anything.
Now after more than 2 months, after an other automatic update, the shortcut triggered something in this extension, so I could find out what was causing the shortcut not to work.
Then I just disabled that shortcut for said extension. All working now :D

How to make clipboard ring appear in VS2008 toolbox?

It seems as if making the clipboard ring appear in the VS2008 toolbox is pretty elusive. Does anyone know how to turn this on ? Ctrl-Shift-V works fine, but I'd like to see what on the ring.
You should give Ditto a try. It saves everything you put in your clipboard into an sqlite database. A shortcut pops it up and shows the history of your clippings.
The nice thing is that you can instantly search in this window through all your clippings.
I set it up to remeber everything in my clipboard for 60 days and made a habit of copying everything that might be usefull. That way I can quickly find that particular SQL statement, i did last week. Just dont search for "select" ;-)
Try it for some days and you will be amazed. There is also a portable Version
If you drag text to the toolbox doesn't it appear?
It was removed in Visual Studio 2005. I'm trying to find a source for this.

Resources