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

Feature Request: Formatter for GROQ #8

Open
jordie23 opened this issue Apr 26, 2021 · 2 comments
Open

Feature Request: Formatter for GROQ #8

jordie23 opened this issue Apr 26, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@jordie23
Copy link

I have been spoilt with almost everything I work on in VSCode has an formatter... except GROQ. First time in a while I've had to fiddle with spaces and indents.

So I'd like to request a formatter for GROQ queries. In all honesty I'm not fussed how you end up deciding it should be formatted, just that it is. Perhaps main thing would be to know if the user is using spaces or tabs, beyond that, just let me press my formatter hotkey and have it clean up the latest mess I've made 🙃

I have no idea how hard it'd be to add so I understand if it lands in that basket, but figured I'd ask :)

@jordie23
Copy link
Author

Not sure if this is helpful to you guys but looks like there's been two attempts at this, maybe they can be added in or adapted? Or be helpful guides?

@alevroub 's one here https://github.com/alevroub/prettier-plugin-groq

and @mcky 's one here https://github.com/mcky/prettier-plugin-groq

@giacomoalonzi
Copy link

Not sure if this is helpful to you guys but looks like there's been two attempts at this, maybe they can be added in or adapted? Or be helpful guides?

@alevroub 's one here https://github.com/alevroub/prettier-plugin-groq

and @mcky 's one here https://github.com/mcky/prettier-plugin-groq

tried with no luck :\

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

No branches or pull requests

3 participants