Auto clean empty lines does not work (as expected?)

With the option enabled:

the editor still leaves whitespaces:

Expected behavior

No empty lines are expected in this case.

Thank you!

Hey thanks for reporting. This is expected behavior, the editor only clean the empty line if you do format selection or documentation formatting.

Thank you!