Hacker News new | ask | show | jobs
by clarkdave 2826 days ago
This looks great! I notice you mentioned Prettier in the post — do you have any plans to integrate sqlfmt with that?

Prettier actually has a beta Postgres plugin, but progress on it seems to have stalled. Hooking it up with sqlfmt would be neat - then prettier could format SQL inside other languages too, like code fences in Markdown or template literals in JS.

1 comments

I wish they didn't stop development: https://github.com/benjie/prettier-plugin-pg

I use plv8 very often, and this would be perfect.