Skip to content

Question: Syntax highlighting for vscode #46

@FrederickEngelhardt

Description

@FrederickEngelhardt

Is anyone doing syntax highlight for the raw string with vscode?

So far I've got it working by doing a hacky apolloserver gql subtitution

example

const gql = (s) => `${s}`

const schema = gql`
 type YourTypes {}
`

This will highlight the standard queries but obviously omits the extensions. Anyone get further with this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions