Skip to content

Same property detection not working when properties are between template literal placeholder #434

Closed
@0xroko

Description

@0xroko

What version of Tailwind CSS IntelliSense are you using?

v0.7.1

What version of Tailwind CSS are you using?

v2.2.15

What package manager are you using?

yarn v1.22.5

What operating system are you using?

Windows 10 19042

Reproduction URL

Not needed.

Describe your issue

Intellisense doesn't detect duplicate Tailwind properties when there is template literal placeholder ( ${expr} ) between properties, as seen in the screenshot below.

image

Works when they are on the same side.
image

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