stivoat / tailwind-fold

Visual Studio Code extension that improves code readability by folding long class attributes
https://marketplace.visualstudio.com/items?itemName=stivo.tailwind-fold
MIT License
109 stars 19 forks source link

Bug: Covering way past the class limits #48

Open pantharshit007 opened 1 month ago

pantharshit007 commented 1 month ago

When using template literals in className is encompasses surrounding divs also. I saw some previous issues but wasn't able to find any solution in them.

Before: When cursor is on Class image

After: Once the cursor is removed from the class image

IT'S NOT HAPPENING HERE SOMEHOW!

Before: image

After: image

pantharshit007 commented 1 month ago

@stivoat did you find any solution temporary at the very least?

pantharshit007 commented 1 month ago

Temporary Fix: After the expression press Enter to move the classes to the next line solved my problem.

image image