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

Syntax highlight GraphQL template strings #10

Open
jaydenseric opened this issue Jan 22, 2018 · 0 comments
Open

Syntax highlight GraphQL template strings #10

jaydenseric opened this issue Jan 22, 2018 · 0 comments

Comments

@jaydenseric
Copy link

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.

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

No branches or pull requests

1 participant