Format and Fix Scripts
Format
Select Home > Format, or press Shift+Alt+F, to format the current script.
Format a script
Fix
Select Home > Fix to apply automatically fixable findings.
Fix script findings
Formatting requires Black or Ruff. Fix requires Ruff. If a dependency is unavailable, the editor reports the condition instead of applying the operation.
Behavior
Format validates syntax, prefers Black, and falls back to Ruff Formatter. Fix applies Ruff safe fixes and then checks again. Save or review changes before applying broad formatting. "No automatic fix available" means the remaining issue requires manual work.