Reformat code
To reformat code according to the current code style settings, select Code | Reformat Code from the main menu or press &shortcut:ReformatCode;.
You can also use Code | Optimize Imports to organize import statements according to the project code style settings and remove unused imports.