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
Hey! So this one is probably caused by your class regex. I don't know which one you're using because you didn't provide your vscode settings but lets say it looks something like this:
In this case we're the entire capture group as a single class list. This means multiple classes in there might appear to be in conflict when they're actually not. What you should do instead is something like this by specifying each regex as an array of 2 patterns:
The first pattern in each group tells IntelliSense where to look for text that may contain one or more class lists. The second pattern tells IntelliSense where each class list actually is.
You can read more about how IntelliSense uses these regex in my answer here.
Hopefully that'll help. Also, if you post your class regex(es) I can try to tweak them for you 👍
What version of Tailwind CSS are you using?
v4.0.3
What build tool (or framework if it abstracts the build tool) are you using?
"postcss": "^8.5.1", "next": "15.1.6",
What version of Node.js are you using?
v20.18.1
What browser are you using?
Chrome
What operating system are you using?
macOS
Reproduction URL
Describe your issue
conflict same class prop
left
inside conditionThe text was updated successfully, but these errors were encountered: