vscode-graphql icon indicating copy to clipboard operation
vscode-graphql copied to clipboard

Syntax highlight GraphQL template strings

Open jaydenseric opened this issue 7 years ago • 0 comments

language-babel for Atom does this really well, supporting:

// Apollo
gql``

// Relay
Relay.QL``
graphql``

// No template tag function
/* GraphQL */``

Currently no VS Code extension supports the comment syntax for plain strings, which is annoying as a plain template string is the basic way to define types for makeExecutableSchema from graphql-tools.

Adding this feature would make this package a one-stop-shop; at the moment I have kumarharsh/graphql-for-vscode installed just to highlight the template strings.

jaydenseric avatar Jan 22 '18 06:01 jaydenseric