Search code examples
phpideeditorphpstorm

PHPStorm 4 cursor


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:

PHPStorm cursor example

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?


Solution

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

    enter image description here