prettier-plugin-tailwindcss
prettier-plugin-tailwindcss copied to clipboard
Webstorm confused after classes are reordered
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:
Then I moved the my-24 class to the end:
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:
This seems like it may be a caching issue in WebStorm so not likely something we can fix but I'll look into it
Just tested and I can't reproduce this in WebStorm. So seems like whatever it was may have been fixed.