Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support sqlformat-rs #16

Open
jgarte opened this issue Nov 25, 2024 · 2 comments
Open

Support sqlformat-rs #16

jgarte opened this issue Nov 25, 2024 · 2 comments

Comments

@jgarte
Copy link

jgarte commented Nov 25, 2024

Hi,

What do you think if we support sqlformat-rs?

https://github.com/shssoichiro/sqlformat-rs

@purcell
Copy link
Owner

purcell commented Nov 26, 2024

It would be easy to add that support, but I'm starting to think it would be better to have small separate packages for each of these reformatter programs. That's kinda why I made the reformatter package, which sqlformat uses under the hood. I think the ergonomics are better if you can simply enable, say, sqlformat-rs-on-save-mode rather than to enable sqlformat-on-save-mode and configure sqlformat.

@purcell
Copy link
Owner

purcell commented Nov 26, 2024

I discussed these recently in #15, which was about adding sqruff support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants