Skip to main content

Module formatting

Module formatting 

Source
Expand description

Configurable SurrealQL formatter.

Preserves comments, strings, and document structure while applying configurable formatting rules via FormatConfig.

Config is loaded from .surqlformat.toml in the workspace root, or falls back to sensible defaults.

Structs§

FormatConfig
Formatting configuration loaded from .surqlformat.toml.

Enums§

IndentStyle

Functions§

format_source
Format SurrealQL source text using the given config.