Skip to content

[graphiql] Incorrect block string highlighting #3823

Open
@mjy9088

Description

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

image

Syntax highlighting is broken

Expected Behavior

Syntax highliighting should be fine

Steps To Reproduce

  1. go to graphiql live demo
    • ... or, open vscode/graphiql/... etc.
  2. paste query below
# This is syntactically valid query
query {
  person(id: """This \"""
is escaped triple dquotes""") {
    __typename
  }
}

Environment

(I couldn't find the environment info of the graphiql live demo

Anything else?

I've tried fix vscode syntax highlighting by editing corresponding(maybe?) source code on ~/.vscode/extensions/graphql.vscode-graphql-syntax-1.3.8/grammars/graphql.json, but failed

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions