Skip to main content

Module format

Module format 

Source
Expand description

Document formatting pipeline: parse → transforms → emit.

Combines lint auto-fixes, transform passes, and canonical emit into a single idempotent entry point consumed by the LSP textDocument/formatting handler and the VS Code extension.

Structs§

FormatConfig
Configuration for format_document.

Functions§

format_document
Parse an FD document, apply configured transforms, and re-emit canonical text.