tailwindlabs/prettier-plugin-tailwindcss

[v4] Order discrepancy between prettier-plugin-tailwindcss and intellisense

ryanylee opened this issue · 1 comments

What version of VS Code are you using?

v1.87.1

What version of Tailwind CSS IntelliSense are you using?

v0.11.51

What version of Tailwind CSS are you using?

4.0.0-alpha.9

What package manager are you using?

pnpm

What operating system are you using?

macOS

Tailwind config

// Paste the contents of your Tailwind config file here

VS Code settings

// Paste your VS Code settings in JSON format here

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

In a project, if I have the class mt-3 mr-3 on a div, tailwindcss-intellisense switches the order to mr-3 mt-3, but when I run prettier with prettier-plugin-tailwindcss, it switches the order back to the original mr-3 mt-3

Going to close this one in favor of tailwindlabs/tailwindcss-intellisense#923 👍