views:

213

answers:

1

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?

+1  A: 
ctrl + a 

To select all the text

ctrl + shift + f

To format the code

ctrl + s 

To save

Phill Pafford
Thanks but I'm looking for an automated on-save action -- so developers don't have to continually format before saving...
Sleep Deprivation Ninja