Skip to content

Raw strings fail if the last line of the sting includes a comment. #632

Open
@a-stewart

Description

@a-stewart

Checklist

  • This problem exists even with the setting "C_Cpp.enhancedColorization": "Disabled"

The code with a problem is:

R"sql(SELECT * FROM foo  -- comment)sql";

It looks like (Default Light+):

image

It should look like:

The comment should end at the end of the string.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions