Auto Format
Scripton ships with a built-in version of autopep8 for automatic code formatting.
You can format either the entire document (
Alt
+Shift
+F
) or just the selected lines (⌘
+K
→⌘
+F
). These options are also available in the editor's context menu (shown on right-click).Scripton can also automatically format your code whenever you save. You can enable this in the Settings under the Editor section: