You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first string, the one following the [ is grey, while the second string is green as it should be. If I delete the [ before the first string, it ends up highlighted green as it should be. Also if I add a space after the [, the string is green as it should be.
My guess is that there's a bug in the file graphql.tmLanguage.json, but I'm not sure.
yes this is where the issue would be. we badly need to add tests for the syntax extension, because minor improvements sometimes cause regressions, or we overlook lots of edge cases like these. i can pull up the vscode docs for writing tests for the grammar configs
acao
changed the title
[vscode-graphql-syntax] Problem with GraphQL Syntax Highlighting
[vscode-graphql-syntax] literal string variables don't highlight properly
Jul 5, 2023
originally posted in shuding/nextra#1949
Is there an existing issue for this?
I noticed a bug with syntax highlighting of GraphQL queries where strings that immediately follow a [ are not properly colored.
If you look at
https://docs.bundlr.network/developer-docs/graphql#owners
You'll notice this GraphQL.
The first string, the one following the [ is grey, while the second string is green as it should be. If I delete the [ before the first string, it ends up highlighted green as it should be. Also if I add a space after the [, the string is green as it should be.
My guess is that there's a bug in the file
graphql.tmLanguage.json
, but I'm not sure.Has anyone else seen this?
The text was updated successfully, but these errors were encountered: