Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hover Preview Not Woring #1134

Closed
yht-7550 opened this issue Jan 23, 2025 · 3 comments
Closed

Hover Preview Not Woring #1134

yht-7550 opened this issue Jan 23, 2025 · 3 comments

Comments

@yht-7550
Copy link

What version of VS Code are you using?

v1.96.3

What version of Tailwind CSS IntelliSense are you using?

v0.14.1

What version of Tailwind CSS are you using?

v4.0.0

What package manager are you using?

pnpm

What operating system are you using?

Windows

VS Code settings

"files.associations": {
    "*.css": "tailwindcss"
  },
  "editor.quickSuggestions": {
    "strings": "on"
  },
  "tailwindCSS.suggestions": true,

Describe your issue

Mouse over class has no effect.
Message form the extension in the "output":

[Info  - 17:35:51] [GLOBAL] No matching project for document {
  fsPath: 'E:\\TestDemo\\vue-demo\\src\\views\\home\\index.vue',
  normalPath: '/e:/TestDemo/vue-demo/src/views/home/index.vue'
}
@TarjeiB
Copy link

TarjeiB commented Jan 23, 2025

I had the same after updating to TW v4. Disabling then enabling the plugin fixed it. Worth a try.

@Matheun
Copy link

Matheun commented Jan 23, 2025

Defining "tailwindCSS.experimental.configFile" fixed the issue for me

@thecrypticace
Copy link
Contributor

thecrypticace commented Jan 25, 2025

No matching project for document

This tells me that IntelliSense isn't able to detect that the file that's open is inside a Tailwind CSS project (or more specifically that the file isn't covered by a Tailwind CSS config / CSS file).

Any chance you can provide a repro?

@yht-7550 yht-7550 closed this as completed Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants