Applies auto-reformat with correct settings