Skip to content

[v4] @utility directive's content css doesn't have intellisense for css properties #1146

Closed
@idan-faibish

Description

@idan-faibish

What version of Tailwind CSS are you using?

4.0.0

What build tool (or framework if it abstracts the build tool) are you using?

vite 6.0.11

What version of Node.js are you using?

20.13.1

What browser are you using?

Chrome

What operating system are you using?

macOS

Describe your issue

as stated in the title.
when using the new @utility directive, the inner css code doesn't have any intellisense. its like we are not using any css code.
(the code itself is working just fine, its only an intellisense issue)

in the image below, we can even see that the coloring (plain white) indicates it
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