I know you can do it file by file.
Is there any way to do this in one step for all files in a project?
for a more recent version, including 2017, try the "Format All Files" extension. it has been working really well for me.