graphql-for-vscode
graphql-for-vscode copied to clipboard
Can this extension become a formatter?
Is there a way to format my schema.graphql
files in Visual Studio Code?
If I install this extension and reload Visual Studio Code and try to format my file it every time complains with:
There is no formatter for 'graphql'-files installed.
Is there a formatter?
Can this extension become a formatter?
Good question. Let me research a little bit on this topic.
@kumarharsh any news on this? It would be amazing! Today there is nothing easy to accomplish this in vscode.
Haven't had time to look into this extension lately. I think Prettier should have something for this, but still have to research. If you do find a solution, I'd be open to a PR too.
Prettier is too heavy and intereferes with other plugins for other projects types (JS).