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

Webstorm confused after classes are reordered #306

Open
bettiolo opened this issue Jul 19, 2024 · 1 comment
Open

Webstorm confused after classes are reordered #306

bettiolo opened this issue Jul 19, 2024 · 1 comment

Comments

@bettiolo
Copy link

bettiolo commented Jul 19, 2024

What version of prettier-plugin-tailwindcss are you using?

"prettier-plugin-tailwindcss": "0.5.14"

What version of Tailwind CSS are you using?

"tailwindcss": "3.4.3",

What version of Node.js are you using?

v20.15.0

What package manager are you using?

npm

What operating system are you using?

macOS

Reproduction URL

On IDE

Describe your issue

This is the original, when I hover the mouse on my-24 I see the correct tooltip:
Screenshot 2024-07-19 at 12 38 07

Then I moved the my-24 class to the end:
Screenshot 2024-07-19 at 12 40 13

When I saved, the plugin shifted back the class and then the tooltips are not working anymore, when I hover my-24, I get the tooltip for flex, old position of classes pre-save:
Screenshot 2024-07-19 at 12 38 43

@thecrypticace
Copy link
Contributor

This seems like it may be a caching issue in WebStorm so not likely something we can fix but I'll look into it

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