Auto formatting after save

Hi!

In eclipse is an option to format the code after every save.
Is this also possible in phpStrom?

0
Avatar
Permanently deleted user

Hello,

Our IDEs use a different approach - file contents are saved automatically and exact 'flush changes' time is non-determenistic. That's why we don't have such an option (imagine a situation when you are in the process of typing and the ide changes the code in a strange way because current state of the editor's document is not a valid file).

There is an option to reformt files on commit though.

Denis

0

请先登录再写评论。