prettier-plugin-tailwindcss icon indicating copy to clipboard operation
prettier-plugin-tailwindcss copied to clipboard

Webstorm confused after classes are reordered

Open bettiolo opened this issue 1 year ago • 1 comments

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

bettiolo avatar Jul 19 '24 05:07 bettiolo

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

thecrypticace avatar Jul 19 '24 13:07 thecrypticace

Just tested and I can't reproduce this in WebStorm. So seems like whatever it was may have been fixed.

thecrypticace avatar Sep 01 '25 20:09 thecrypticace