Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 665
Sleep Deprivation Ninja Avatar asked Nov 06 '22 14:11

Sleep Deprivation Ninja


1 Answers

ctrl + a 

To select all the text

ctrl + shift + f

To format the code

ctrl + s 

To save

like image 54
Phill Pafford Avatar answered Nov 12 '22 13:11

Phill Pafford