Format PHP Source Code on Save with Zend Studio for Eclipse

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

Answers (1)

Phill Pafford
Phill Pafford

Reputation: 85298

ctrl + a 

To select all the text

ctrl + shift + f

To format the code

ctrl + s 

To save

Upvotes: 2

Related Questions