Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ryanylee opened this issue Mar 15, 2024 · 1 comment
Closed

Comments

@ryanylee
Copy link

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

@adamwathan
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants