Skip to content

On sql-formatter #10115

Description

@qzdl

Description

SQL formatting in marimo feels a bit bolted-on:

  • SQL is not formatted via Format All or Cell > Format,
  • No user-facing options exposed (ALL CAPS ALL THE TIME),
  • fully-clientside JS library, rather than server-side (LSP &| tree-sitter).

also, essentially deprecated lib:

The development of this formatter is currently in maintenance mode. Bugs will get fixed if feasible, but new features will likely not be added.

Are you willing to submit a PR? (You must receive approval from the team before submitting a PR.)

  • Yes

Alternatives

using --watch with watchexec & custom formatter; main issue is being post-hoc, amplifying writes, and re-triggering execution.

(& in comparison, we are really spoiled with the first-party ruff integration)

Additional context

No response

Metadata

Metadata

Assignees

Fields

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions