Etsi0 / class-collapse

This powerful extension lets you collapse any code segment using custom regex patterns. Simplify your coding view, enhancing readability and focus.
https://marketplace.visualstudio.com/items?itemName=Etsi0.class-collapse
MIT License
7 stars 0 forks source link

It folds anything that is similar to class="" #13

Open RifatMahmudno-1 opened 1 month ago

RifatMahmudno-1 commented 1 month ago

Let's say I've a variable in js in a vue file

const test_class="Test"

This extension also folds the text inside the quotes.

And becomes like this

const test_class="..."
Etsi0 commented 1 month ago

Hello @RifatMahmudno-1,

Sorry for late response and thanks for pointing that out. I will try fixing this issue. It's worth pointing out that it is considered best practice to have spaces around your infix operators. Both eslint and prettier can help reinforce this behaviour.

// Albin