Skip to content

Make an embedded-in-.rs SQL pretty-printer #20

@trevyn

Description

@trevyn

Separate binary that can be run that uses syn to parse out .rs files, replace strings with SQL with pretty-printed, then run rustfmt afterwards. Can swap this in with rust-analyzer.rustfmt.overrideCommand.

See also: https://crates.io/crates/sqlformat and https://crates.io/crates/prettyplease

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions