Skip to content
This repository has been archived by the owner on Jul 6, 2022. It is now read-only.

Feature Request: Make it as plugin for prettier #74

Open
iki opened this issue Mar 27, 2022 · 1 comment
Open

Feature Request: Make it as plugin for prettier #74

iki opened this issue Mar 27, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@iki
Copy link

iki commented Mar 27, 2022

Describe the Feature

  • Create a prettier plug-in @prettier/plugin-sql
  • Optional: remove standalone VSCode plugin - it's simpler to avoid maintenance and focus on functionality within Prettier

Why do you want this feature?

Firstly, thank you for your great work! This formatter has much more usable settings than prettier-plugin-pg with sql-formatter that misses even basic settings like line width.

However, there're some good features of prettier:

Rather than implement and maintain that, it's imo simpler to publish a prettier plug-in and have benefits not only of the functionality, but also larger adoption in prettier community

Info

  • How would you be calling / using the script?
  • What SQL language(s) does this apply to? any
  • What Node version? (If applicable) n/a
@iki iki added the enhancement New feature or request label Mar 27, 2022
@inferrinizzard
Copy link
Owner

Yes, I plan on eventually releasing a prettier plugin as a peer release - along with the main npm package.
Unfortunately, I will have my hands full working on the 5.2.x and 6.x releases once I return from hiatus so I would appreciate if you or someone you know would be interested in working on this :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants