This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
1 Replies Last post: Jan 30, 2013 2:49 PM by Denis Zhdanov  
el Newbie 14 posts since
Apr 26, 2012
Currently Being Moderated

Jan 30, 2013 1:18 PM

Auto formatting after save

Hi!

 

In eclipse is an option to format the code after every save.

Is this also possible in phpStrom?

Denis Zhdanov Expert 1,620 posts since
Oct 20, 2007
Currently Being Moderated
Jan 30, 2013 2:49 PM in response to: el
Re: Auto formatting after save

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

More Like This

  • Retrieving data ...