Skip to content

Intellisense failed in css, but works in html (video included) #1255

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

Closed
Kcko opened this issue Mar 6, 2025 · 1 comment
Closed

Intellisense failed in css, but works in html (video included) #1255

Kcko opened this issue Mar 6, 2025 · 1 comment

Comments

@Kcko
Copy link

Kcko commented Mar 6, 2025

What version of VS Code are you using?

For example: Latest (VsCode and Cursor = same)

What version of Tailwind CSS IntelliSense are you using?

Latest

What version of Tailwind CSS are you using?

Latest

What package manager are you using?

npm

What operating system are you using?

Win11

Tailwind config

Im on TW4 = no js config
VS Code settings

standard ..

Reproduction URL

Describe your issue

Continued from #1245 (comment)

Intellisense works on HTML but in css file failed.

I just tried it and it works fine, was there an update?
Video: https://is.gd/Z9PLdn

When I tried it 1-2 days ago (first time with TW 4, clean project, build via tailwindcss, I had to reload the whole editor via developer window, then it just started hinting.

But otherwise, of course, it still has a problem with hinting in css (variables).

See: https://is.gd/xq8vwB

I assume that this is being worked on, it's not functional yet, or am I doing something wrong?

Edit: probably same issue -> #1209

@thecrypticace
Copy link
Contributor

Yeah, this is the same as #1209. That feature just isn't implemented yet. Aside: I noticed you're not using the Tailwind CSS language mode which is why there's a diagnostic for @theme. Open the command palette, select "Change language mode", and then select "Tailwind CSS".

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

2 participants