Refactor / rename Sass class name doesn't change the class name in Pug files

I have a several classes to rename in my Sass file but Webstorm isn't finding the references in the Pug files for the project. Is there a way to include the Pug files in the scope?

0
2 comments

Class is correctly found/renamed when it's usage in .pug looks as follows:

div(class="cls1")

But defining it as

div.cls2

doesn't work; pleadse vote for https://youtrack.jetbrains.com/issue/WEB-14682 to be notified on any progress with it

0

Mine are even shorter as just .cls3 ! Good to know the behavior for the future

0

Please sign in to leave a comment.