Reputation: 527
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?
Upvotes: 5
Views: 1151
Reputation: 85298
ctrl + a
To select all the text
ctrl + shift + f
To format the code
ctrl + s
To save
Upvotes: 2