Code Formatting

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:

  1. Open the required file.
  2. Go to Format context menu or press Ctrl+Shift+F.
  3. Your code will be automatically formatted.