PHPStorm 4 cursor

editor, ide, php, phpstorm

Solution

In the settings go to `IDE Settings -> Editor -> Allow placement of caret after end of line` and untick the option.

Problem

I don't know if anyone has tried the all-new PHPStorm 4, but I've got a problem with this new version that I didn't have with the previous major version (PHPStorm 3). Basically, when I click anywhere in the blank space of my code view, the cursor is set at this position, instead of going at the first char available on the line where I clicked: I first thought this was an intended choice from the PHPStorm team, but my co-worker installed this software on his Mac (I'm on Windows), and for him the cursor does go to the beginning of the line. This is pretty annoying, do you have a pointer to a configuration option for this?

Original source