You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I define a custom utility and a custom variant with the same name, IntelliSense in VSCode only shows the variant — the utility is missing from suggestions.
Tailwind generates the utility class correctly in the final CSS output. This is only a VSCode IntelliSense issue.
The intellisense plugin will only match actual utilities and variants. The .mica class in the utilities layer is considered normal user CSS, not a utility.
The syntax highlighting is something I'm working on fixing. Spent some time on it yesterday and hoping I don't have to copy the entire CSS theme from CSCode but not sure yet. Was hoping it was going to get proper nesting support by now but it has not so it'll take some work to do so.
Describe your issue
When I define a custom utility and a custom variant with the same name, IntelliSense in VSCode only shows the variant — the utility is missing from suggestions.
Tailwind generates the utility class correctly in the final CSS output. This is only a VSCode IntelliSense issue.
What version of Tailwind CSS are you using?
tailwind
:v4.0.15
windows
:11
vscode
:latest
Tailwind CSS IntelliSense
:latest
Example
The text was updated successfully, but these errors were encountered: