Highlight added and edited lines in editor during coding

Answered

Hi all,

I wanted to enable a feature that I really miss from my previous IDE: I was ued to see in real time which lines I changed/added since last commit with a colored block at the left of every line of code.

In this example, since last commit on the current git branch, I edited line 128, addedd line 132 and 141.

I tried with phpstorm annotations but they do not update in real time and do not show the uncommitted changes.

Is there in PhpStorm a function like that? I find it really helpful.

Thanks in advance for your help

2 comments
Comment actions Permalink

It's available in PhpStorm, make sure that "Highlight modified lines in gutter" is enabled at File | Settings | Editor | General (bottom part):

0
Comment actions Permalink

Perfect, I didn't notice that! Thank you

1

Please sign in to leave a comment.