Annoying cursor movement after saving

Hi, I'm using PhpStorm 2016.3 on windows 10 and every time I save the file (CTRL+Save) the cursor moves to the first column of the current line if the line is empty:

1) Start a new line

2) Use space or tabs to move/indent the cursor

3) Save file (Ctrl+Save)

4) cursor goes back to column 0 (loses indentation)

Is there any way to fix this? (this only happens if the line has only white spaces and was not happening in previous versions)

 

Regards !!

 

 

1
4 comments

Hi there,

Apparently users have asked for such behaviour: https://youtrack.jetbrains.com/issue/IDEA-114099

But devs most likely will introduce an option to control such behaviour: https://youtrack.jetbrains.com/issue/IDEA-164345 -- watch this ticket (star/vote/comment) to get notified on any progress.

0

Perfect, thanks !!

0

It appears the ticket is gone (IDEA-164345).

0

@Jiaqa

It's still there. For whatever the reason the link had extra characters added to it making the ticket ID broken.

I've edited the link so it works again.

1

Please sign in to leave a comment.