I would expect this option to exist in PHP -> Editor -> Save Actions but the only thing available there is to "remove trailing whitespace"...
It's available in JavaScript -> Editor -> Save Actions but not php :(
Is there a plugin that will let me do this?
asked Mar 30, 2010 at 11:38
Sleep Deprivation Ninja
5271 gold badge4 silver badges11 bronze badges
-
1nice picture, you're kid will be in therapy for years! ;-)KM.– KM.2010年03月30日 11:58:47 +00:00Commented Mar 30, 2010 at 11:58
1 Answer 1
ctrl + a
To select all the text
ctrl + shift + f
To format the code
ctrl + s
To save
answered Mar 30, 2010 at 12:35
Phill Pafford
85.5k92 gold badges268 silver badges385 bronze badges
Sign up to request clarification or add additional context in comments.
2 Comments
Sleep Deprivation Ninja
Thanks but I'm looking for an automated on-save action -- so developers don't have to continually format before saving...
eav
this answer made me laugh.. :D
Explore related questions
See similar questions with these tags.
lang-php