Box-Of-Hats / Bem-VSCode-Extension

A VSCode extension for helping with inserting BEM (Block-Element-Modifier) classes.
BSD 3-Clause "New" or "Revised" License
29 stars 5 forks source link

Twig if statement inside classname in Camelcase detect error #35

Closed rbouza23 closed 3 years ago

rbouza23 commented 3 years ago

If i have something like this:

The plugin detect "sectionKey" not correct. But that is not the classname itself. Is a twig variable..

Is there a way to fix the issue?

Box-Of-Hats commented 3 years ago

Hi, thanks for opening an issue. Can you show some code that is having the issue?

I can try to add support for the twig language if I have some examples

rbouza23 commented 3 years ago

Captura

Box-Of-Hats commented 3 years ago

@rbouza23 I've added support for the twig language in version 1.4.1 of the extension. Please update and let me know if that's solved your issue

rbouza23 commented 3 years ago

Thanks Jake! Its resolved!

Box-Of-Hats commented 3 years ago

Great to hear it 😊