PHPStorm reformat - how do I disable removing spaces in empty lines? -
when reformatting file, phpstorm replaces empty lines whitespace empty lines, e.g. ^[tab][tab]$ ^$. how disable this?
you cannot -- http://youtrack.jetbrains.com/issue/idea-73161
i thinking disabling stripping whitespace characters altogether job (settings | editor | strip trailing spaces on save) .. apparently works on "save".
related tickets:
now can on code reformat well:
settings/preferenceseditor | code style$language$ | tabs , indents | keep indents on empty linescheck box
(this option introduced after answer provided: https://youtrack.jetbrains.com/issue/idea-103941#comment=27-807213)
Comments
Post a Comment