The Maple editor can auto-format your code according to set standards in order to make it easily navigable and readable.
If some code is selected, the formatter applies to the selection. Otherwise, the entire file is formatted.
Formatting Maple code
To format Maple code:
Open the required file.
Go to Format context menu or press Ctrl+Shift+F.
Your code will be automatically formatted.