Monday, March 16, 2009 02:24 AM
You could also enable a "Save action" for formatting when you save the file.
Thursday, March 12, 2009 08:27 AM
I don't think you can do it on typing (and personally I would not like it).
But you always can press - Ctrl+Shift+F (default shortcut for "Format Source Code").
You can find all shortcuts in Window->Preferences->General->Keys.