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
121 stars 23 forks source link

Folding breaks when encountering curly brace #23

Closed Jaeiya closed 8 months ago

Jaeiya commented 1 year ago

VS Code Version: 1.79.2

Folding breaks when using curly braces. image

You can also see that the opacity fails as well when the whole line is displayed. image

alessandro-newzoo commented 1 year ago

came here to report the same issue, sadly this makes it unusable for me and anyone using any sort of templating engine :(

image image
JoeShep commented 1 year ago

Piling on, but maybe more voices will help lead to a prioritizing of a fix. Conditional classes in JSX, which also involve curly braces, break the folding. The tool still folds enough to be useful for me, but would be great to see 100% functionality.

Screenshot 2023-10-02 at 11 06 37 AM

magalhaespaulo commented 1 year ago

+1