-
Notifications
You must be signed in to change notification settings - Fork 218
intellisense not works after v0.14.16 #1388
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
Comments
Hey, can you provide a reproduction? I'm not seeing any problems here. |
Reproducible example. Standard vitejs project with Delete |
Just to add to this, Intellisense was working perfectly for me yesterday 5/28/2025. Now it seems that any utility class that can use -number doesn't appear at all in the autocomplete dropdown: As well as colors i.e.: text-white: I should note that the utility classes compile correctly and the css is applied to the markup. I'm working on an Astro project w/ the following deps: But this bug is also prevalent in all of my projects that use Tailwindcss, majority of which are Vite/React. Oddly though, I have a Next.js project where the Intellisense is still functioning correctly but it was created with Tailwindcss ver 3.4.1. P.S.: I may have inadvertently fixed it just messing around in my code base.
Unsure if one OR all of the above points contributed to the fix. Intelliense autocomplete is functioning properly again. Bugs I listed above are no longer appearing. Hope this helps |
@Applefrittr Can you provide a reproduction? That sounds like the theme isn't loading but we're detecting a file as being the "root" for a Tailwind project. Feels like we're picking the wrong file. |
@thecrypticace I was able to reproduce the problem consistently by cloning an Astro project from my github and comparing the Intellisense console output between my local copy and the cloned copy. See below: Local copy: Cloned version: The problem appears to be that Intellisense chooses the 'root' file from the dist build INSTEAD of the src/styles/global.css. It also very odd that this problem happens whenever I boot up my IDE (vscode) and open the local copy. I have to rebuild the project by running 'npm run build' then both the outputs for my local copy and the cloned version are identical. The cloned copy DOES NOT have a dist build while my local version DOES have a dist build. I didn't note this before but I do keep the extension up to date -> v0.14.20 |
@Applefrittr i was having issues with intellisense in my Zed editor, i tried what you just mentioned and it was true. |
Gonna get a release out today with the fix for this |
v0.14.21 is out. This should be fixed now. Lemme know if things have improved (or if they haven't). |
@thecrypticace After updating the extension, the issues highlighted above are fixed without me having to delete my dist build OR rebuild my Astro project as well as a few other Vite/React projects whenever I boot up my IDE. So far so good! |
What version of VS Code are you using?
Version: 1.100.2
What version of Tailwind CSS IntelliSense are you using?
For example: v0.14.19
What version of Tailwind CSS are you using?
v^4.0.7
tried on a newer version same bug
What package manager are you using?
npm
What operating system are you using?
macOS
Tailwind config
VS Code settings
Reproduction URL
Private repo
Describe your issue
The problem is that after v0.14.16 extension version autocompletion stopped worked

No errors in tailwind CSS IntelliSens ouptut
Before:
After:

The text was updated successfully, but these errors were encountered: