What version of SQL Developer are you using?
They made enhancements to the SQL formatter in version 1.5
To see the available formatting options go to Tools->Preferences->Sql Formatter
To check the current keyboard shortcut to format SQL go to Tools->Preferences->Accelerators, and look for “Format SQL”. I think the default accelerator is Ctrl+B