Click anywhere and cursor is put there 关注
Sorry this is a tuff one to explain. When using the application if I click somewhere on any line it will put the cursor that that exact location. I am use to it putting the cursor at the end of line. Again sorry for the bad explaination.
"In Eclipse, virtual space (the possibility to place the caret after the end of a line) is disabled by default, which is contrary to IntelliJ IDEA default setting.
To alter it, go to Settings dialog, Editor and clear the Allow placement of caret after end of line option."
hope this helps,
Thank you that worked so well.
Sorry for necroing this thread, but I just had an incident where this behaviour would suddenly kick in, and I checked my settings, and the checkbox for "Allow placement of caret after end of line" was unchecked. Did I accidentally hit some kind of shortcut for this? What would that shortcut be?
Luckily, a restart of PhpStorm solved the issue and I'm back to placing the caret at the end of the line again, but it would be nice to avoid exiting PhpStorm in the future, as I have to build the kubernetes environment on startup and it takes a couple of minutes. :)
There is no specific shortcut for toggling this behavior. Third-party plugins may be interfering, so you can first check if disabling all or specific downloaded plugins under File | Settings | Plugins > Installed will help.
I actually updated the plugin Cloud Code right before this happened (still hadn't restarted to apply the update), so that may be it! Anyway, it worked as soon as I had restarted, so let's hope I will be unable to reproduce it in the future! ;)
Fingers crossed Adrian :)
For future readers who might stumble across the same problem. Although the particular switch “Allow placement of caret after end of line” has no shortcut by default, an option which results in a similar behavior does: “Column Selection Mode”, Alt + Shift + Insert. So you might be looking for that one if your cat rolled over the keyboard.
Thanks you so much Lazar Ljubenović , you save me each time I change tab, forget to lift my finger pushing Alt key, insert a copied line and wonder why my Pycharm is f*cked up.
Thanks Lazar! That was the issue for me as well
Lazar Ljubenović's answer here https://intellij-support.jetbrains.com/hc/en-us/community/posts/206916285/comments/360003215259 worked for me 👍