Skip to content

[vscode-graphql-syntax] Text on the same line after #graphql inside a Javascript string is not formatted as a comment #2843

Open
@ADTC

Description

@ADTC

Description:

Observe the following:

image

Text on the same line after the first #graphql keyword is not formatted as a comment. It can lead to confusion if the code is invalid, but appears valid like this:

image

Is there an existing issue for this?

  • I have searched the existing issues

PS: Please fix vscode-syntax-bug.yml issue template. It has the above checkbox only. I had to edit the comment to add the description.

Metadata

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