There is no automatic reformat feature, related requests:
- IDEABKL-5806 Automatically trigger code formatter on file save
- IDEABKL-475 Hard (auto-)reformat code
See also my answer to the similar question with the Complete Current Statement
workaround.