Code Formatter
Intellij-Move provides automatic code formatter to help making sure your code looks the same across the whole project.
Formatting code from the IDE
You can invoke the formatter both for the whole Move file, and only for the code selection.
Reformat the selection
Select the code fragment you want to reformat.
Press Ctrl+Alt+L or select Code | Reformat Code from the main menu.
Reformat a file
Open the file you'd like to reformat.
Press Ctrl+Alt+Shift+L or select Code | Reformat File... from the main menu.
In the Reformat File dialog, select additional options if necessary. Click Run.
Reformat all files in the specific directory, or for the whole project
Open Project tool window (press Alt+1 or select View | Tool Windows | Project if it's not already visible).
Select the project root, or any other directory.
Press Ctrl+Alt+L or select Reformat Code from the context menu.
In the Reformat Code dialog, select additional options if necessary. Click Run.