Skip to content

Tailwind CSS IntelliSense not work with tailwindcss4.0 #1245

Open
@527430408

Description

@527430408

What version of VS Code are you using?

For example: v1.97.2

What version of Tailwind CSS IntelliSense are you using?

For example: v0.14.8

What version of Tailwind CSS are you using?

For example: v4.0.9

What package manager are you using?

For example: npm

What operating system are you using?

For example: macOS

Tailwind config

vite.config.js

export default defineConfig({
  plugins: [
    tailwindcss(),
 ]
})

VS Code settings

"tailwindCSS.emmetCompletions": true,
    "tailwindcss.documentColors": true,
    "tailwindcss.colorDecorators": "on",
    "tailwindcss.hoverColorHint": "rgb",
    "tailwindcss.diagnostics": {
        "enabled": true,
        "emptyChecking": true
    }

Reproduction URL

A public GitHub repo that includes a minimal reproduction of the bug. Please do not link to your actual project, what we need instead is a minimal reproduction in a fresh project without any unnecessary code. This means it doesn't matter if your real project is private/confidential, since we want a link to a separate, isolated reproduction anyways.

Describe your issue
My project used tailwind3.0,Tailwind CSS IntelliSense is working.
I upgraded the Tailwind CSS version to 4.0.It's working.
Bug Tailwind CSS IntelliSense is does not working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions