Description
What version of VS Code are you using?
v1.100.2
What version of Tailwind CSS IntelliSense are you using?
For example: v0.14.17
What version of Tailwind CSS are you using?
v4.0.8
What package manager are you using?
pnpm
What operating system are you using?
macOS
Tailwind config
/** @type {import('postcss-load-config').Config} */
const config = {
plugins: { "@tailwindcss/postcss": {} },
};
export default config;
VS Code settings
{}
Reproduction URL
A public GitHub repo that includes a minimal reproduction of the bug. Please do not link to your actual project, what we need instead is a minimal reproduction in a fresh project without any unnecessary code. This means it doesn't matter if your real project is private/confidential, since we want a link to a separate, isolated reproduction anyways.
Describe your issue
I am using Tailwind CSS v4 on a Next.js Turborepo project. Autocomplete only works in my packages/ui
directory but does not work in my apps
directory. After further investigation, I discovered that this bug was introduced in the latest plugin version: 0.14.17. Autocomplete works as expected with version 0.14.16.
Steps to Reproduce
- Set up a Next.js Turborepo with Tailwind v4.
- Update the plugin to version 0.14.17.
- Observe that autocomplete only works in
packages/ui
but not inapps
. - Downgrade the plugin to 0.14.16 and see that autocomplete works in both directories.
Expected Behavior
Autocomplete should work in both packages/ui
and apps
directories regardless of the plugin version.
Actual Behavior
Autocomplete only works in packages/ui
when using plugin version 0.14.17. It does not work in apps
.
Additional Context
- Tailwind CSS v4
- Next.js Turborepo structure
- Plugin: 0.14.17 (broken), 0.14.16 (works)
Please let me know if more information is needed.