Skip to content

C# interpolated strings not supported #1573

@MongoCaleb

Description

@MongoCaleb

Interpolated Strings cause the code to lose all syntax formatting. Removing the $ and just using boring strings works.

This works:

                Console.WriteLine("I created a key named" + newKey.Name +
                    "Is it enabled?" + newKey.IsEnabled);

This doesn't:

                Console.WriteLine($"I created a key named {newKey.Name}. " +
                    $"Is it enabled? {newKey.IsEnabled}");

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lexingarea: changes to individual lexerschangelog-updateItems which need to get mentioned in the changeloggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions