-
Notifications
You must be signed in to change notification settings - Fork 218
Completions not appearing on my v4 project #1261
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
I've changed the issue title as this:
Looks to me like its an AI-related extension (e.g. copilot, Claude, etc…) and is unrelated to Tailwind CSS IntelliSense. Please provide a reproduction of your Tailwind CSS project setup |
I have a similar problem with almost the same setup. The completions and the hover-boxes do not work. However, if I delete the node_modules folder and reload the window, everything is fine. |
I am also having trouble getting the autocompletions to work after the upgrade to Tailwindcss V4 |
I'm not quite sure what caused this, but I might just found the work around (using v0.14.9)
***The colors completion still quiet though. |
In my case completion generally works, but the classes are sorted alphabetically so it is almost worse than nothing. |
Hello! I've had the same problem as you for a while but, as @anym0re94 said here,
the solution for me has been to write You will find more information in the extension page (at the end of the page). Hope this helps! |
And what should be done in a monorepo with multiple tailwind projects? |
Had this issue too. Intellisense was working completely fine on v4 projects yesterday. I booted up my project today and it didn't work until I pointed it to the app.css manually by changing the settings.json config. Maybe there was an update in between? |
same here. it was working before and it stopped for no reason. no idea when, it's been a while since I needed it! adding "tailwindCSS.experimental.configFile": "app/tailwind.css", fixes the issue, so it's clear there's a regression on how the extension finds the config file |
@GrifTheDev @luisrudge Can either of you provide a reproduction project? |
unfortunately, no. I tried to repro on a new React Router 7 project with tailwind and shadcn (what I'm using in my project) and it works as expected. it must be something else messing up the config file resolution |
I can try when I come back to my computer. I was working on a SvelteKit project made with |
Started vscode today and found myself facing this same issue (I also had the 100% CPU issue mentioned in #1303; I'm using an M2 as well). Adding the I reproduced this issue in a bare project with all other extensions disabled. I created a repo for you to test, but I suspect this is due to some conflict at the local level. Hope this info helps! https://github.com/tworonin/tailwind-extension Before adding
After adding
|
This tells me it's getting stuck in a file search but given that the project itself is so tiny something very weird is going wrong here but I'm not quite sure what. The That project opens and get's processed instantly for me. Could you provide:
|
User settings
Do you want the
Everything is on the main drive. The pnpm store is located at:
I hear you, bug hunting can be very frustrating. Hope this info helps. Thanks for your hard work and a great extension. |
Oooooh I think that's this: SuperchupuDev/tinyglobby#99 Looks like there's an issue in tinyglobby (technically I don't believe fdir has a patch out for this yet but I might have an idea for a workaround (prefixing the patterns with |
That would explain it. I also have a path (numerous paths, actually) starting with Edit: I confirmed that deleting my |
FWIW I don't have anything under |
This seems to be the culprit for me. I removed the
I removed all values that start with Thanks for your reply @thecrypticace and for tracking down the answer. |
Okay, cool this is good to know. I was quite nervous in switching from fast-glob to tinyglobby b/c it's so core to the language server (but it quite importantly fixed a CPU issue with recursive symlinks). Can't win lol I'll see if I can get some kind of fix out for the leading @luisrudge Yeah this is new to 0.14.14 — since your issue originated before then and still isn't fixed there's likely something else wrong but I'm not sure what since the symlink thing should be fixed now 🤔 |
Uh oh!
There was an error while loading. Please reload this page.
What version of VS Code are you using?
1.98.0
What version of Tailwind CSS IntelliSense are you using?
0.14.8
What version of Tailwind CSS are you using?
4.0.12
What package manager are you using?
npm
What operating system are you using?
macOS
Tailwind config
VS Code settings
Reproduction URL
N/A
Describe your issue
I am working on a project with Next.js and Tailwind v4.
When I start typing the Tailwind class, I get this error in the dev tool. Autocompletion doesn't work.
The text was updated successfully, but these errors were encountered: