graphql-for-vscode
graphql-for-vscode copied to clipboard
Issues when schema.gql has """ formatted comments
Hello. My graphql schema has triple-quote descriptions, such as """Description goes here""". Seems like I'm not getting autocomplete when that is the case. If I go to the schema.gql file and replace all """ with #, there is no longer an issue and my autocomplete works as expected (within gql tags).
That's because of the @playlyfe/gql not supporting the graphql definition for comments/descriptions.
You want to follow this issue that has been opened over a year ago now: https://github.com/Mayank1791989/gql/issues/143
I've ended up installing https://marketplace.visualstudio.com/items?itemName=Prisma.vscode-graphql
