Sunday, May 25, 2008

IntelliJ IDEA Caret Placement

One of the most annoying behaviors in IntelliJ IDEA is the placement of the caret in the text editor. When you click in the editor, the cursor is paced exactly at the position where you pointed the mouse, even if there is no text anywhere nearby!
I cant see the benefit or a sensible use-case for this behavior...

Picture 2.png

In every other graphical text editor I know of, the cursor jumps to the end of the text on the respective line.

Now I finally found the setting that lets IntelliJ behave like the other text editors I know:
Under Settings->Editor->Behavior switch off "Allow placement of caret after end of line" (in the box "Virtual Space").

Picture 1.png

I think this should be the default , new users probably expect this behavior.


  1. I completely agree. This is super annoying and took me some googling to find your post and change it. Thanks!

  2. +1
    Thanks for the tip!


Related Posts Plugin for WordPress, Blogger...