Skip to content

Improve highlighting with escaped strings #2

@s2b

Description

@s2b

With tmLanguage-based syntax highlighting, it's probably impossible to cover all edge cases here, but it might be worth investigating if the situation can still be improved.

Basics are already covered quite well, the following works:

{f:uri.image(
  cropVariant: '{sourceConfig.cropVariant ? sourceConfig.cropVariant : \'default\'}',
})

But more complex use cases don't work, as documented in https://github.com/FriendsOfTYPO3/vscode-fluid-language/tree/bugfix/inlineHighlightingEscape.

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