Skip to content

Syntax highlighting is incorrect with # in an alias name #560

@richb-hanover

Description

@richb-hanover

Creating an alias that contains a "#" gives an incorrect coloring in the VSCode Extension. The generated SQL is OK. Using the example below:

from albums
derive `foo#` = 5

In the Playground, the syntax coloring looks OK and the SQL is too.

In the VSCode Extension, the SQL is OK, but the highlighting shows the "#` = 5" to be grey and italicized.

image

Moved here from: PRQL/prql#4725

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions