PHPStorm keep removing withe space at end of the line

Hi everyone,

i already found lot of post about PHPStorm removing trailing space on save but none of them solved my issue.
I would like PHPStorm to keep space at the end of the lines on save AND on reformating code.

I Already untick the "remove trailing space on save" and "support configeditor" options but the problem is still here.

Is anyone already experienced this ?

Here's my phpstorm version : PhpStorm 2022.2.1
Thank's by advance

1 comment

Disabling Remove traling space on should have done it. Could you please share a code snippet that gets its trailing whitespace removed and also specify which exact operation removes it?


Please sign in to leave a comment.