Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 916
BenMorel Avatar asked Apr 25 '12 11:04

BenMorel


1 Answers

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

enter image description here

like image 158
dan-lee Avatar answered Nov 04 '22 03:11

dan-lee