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:

  1. settings/preferences
  2. editor | code style
  3. $language$ | tabs , indents | keep indents on empty lines check box

(this option introduced after answer provided: https://youtrack.jetbrains.com/issue/idea-103941#comment=27-807213)


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -