Comment with Line Comment does not work. It's comments on three lines at once

When I try to comment a single line without selecting the text beforehand (just by placing my cursor in the middle of the line), PhpStorm comments me 3 lines.

Strange isn't it?

How can I make it comment just the line where the cursor is?

4 comments
Comment actions Permalink

Basically, I was not able to reproduce this issue on my end, however, I have a strong feeling that I saw a similar report already (could not recall where exactly, my bad)

Does it happen everywhere, for all file types and projects? A somewhat generic question but what version of IDE do you have installed?

0
Comment actions Permalink

Yes, this happens on all file types.

I am using PHPStorm 2020.1.4. I think the problem wasn't there with version 2019.X.Y (the previous version).

0
Comment actions Permalink

Strange, I am still unable to reproduce it.

Meanwhile, a PhpStorm 2020.2 has been released. Could you please give it a try? 

0

Please sign in to leave a comment.