5

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
1
  • 1
    nice picture, you're kid will be in therapy for years! ;-) Commented Mar 30, 2010 at 11:58

1 Answer 1

2
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
Sign up to request clarification or add additional context in comments.

2 Comments

Thanks but I'm looking for an automated on-save action -- so developers don't have to continually format before saving...
this answer made me laugh.. :D

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.