Skip to content

suggestCanonicalClasses not working as intended #1486

Description

@morfarpeter

What version of VS Code are you using?

1.105.1

What version of Tailwind CSS IntelliSense are you using?

0.14.29

What version of Tailwind CSS are you using?

4.1.16

What package manager are you using?

pnpm

What operating system are you using?

macOS

Describe your issue

I see a bug where the suggestCanonicalClasses is trying to add instead of remove logic to a class. The error:

The class [&>[role=checkbox]]:translate-y-[2px] can be written as *:[&>[role=checkbox]]:translate-y-[2px]

Furthermore if I do what is says to remove my warning I get this warning instead:

The class *:[&>[role=checkbox]]:translate-y-[2px] can be written as *:*:[&>[role=checkbox]]:translate-y-[2px]

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions