To format the selected codes with the SQL beautify options settings, simply choose Edit -> Beautify SQL.