Is there any way to reindent the WHOLE CODE without installing the Smartindent plugin? A keyboard shortcut maybe?
The answer was select all code, then use the source code formatter plugin (AStyle) in the plugins button