With the given configuration, I would expect intellisense to work when typing in either variants.class.* or compoundVariants.*.class in packages/button/button.tsx. However, neither seem to work.
Also seems to not work if you import cn and try to use intellisense for that. For example:
import { cn } from "@nextui-org/react";
// ... somewhere in the component
const test = cn("f-full"); // intellisense not activated
Note: I did not include the apps/* directory. If needed, you can put a generic NextJS app in there that references the @repo/ui/* tailwind config.
What version of VS Code are you using?
v1.91.1 (Universal)
What version of Tailwind CSS IntelliSense are you using?
v0.12.5
What version of Tailwind CSS are you using?
v3.4.6
What package manager are you using?
pnpm
What operating system are you using?
macOS
Tailwind config
packages/ui/tailwind.config.ts
:VS Code settings
Reproduction URL
https://github.com/ellisio/tailwindcss-intellisense-bug
Describe your issue
With the given configuration, I would expect intellisense to work when typing in either
variants.class.*
orcompoundVariants.*.class
inpackages/button/button.tsx
. However, neither seem to work.Also seems to not work if you import
cn
and try to use intellisense for that. For example:Note: I did not include the
apps/*
directory. If needed, you can put a generic NextJS app in there that references the@repo/ui/*
tailwind config.