Skip to content

Project is not detected when main stylesheet is named tailwindcss.css and contains @import "tailwindcss"; #1427

@Over-reaction

Description

@Over-reaction

What version of VS Code are you using?

1.102.2 (Universal)

What version of Tailwind CSS IntelliSense are you using?

0.14.25

What version of Tailwind CSS are you using?

"tailwindcss": "^4.1.11",

What package manager are you using?

pnpm

What operating system are you using?

macOS

I have a new project that created a file called src/assets/styles/tailwindcss.css. At this time, code completion can be done, but when the mouse hovers over it, the CSS style function for the class name is not working. I found that the file name cannot be called tailwindcss.css, it is called tailwind.css, and everything works normally

我有一个新项目 创建了一个文件 src/assets/styles/tailwindcss.css 此时能进行代码补全 但是鼠标移入显示该类名的css样式功能失效了 我发现这个文件名不能叫tailwindcss.css 叫tailwind.css功能就一切正常

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