Go to Scss definition - using ampersand


Is there a way to setup WebStorm so it recognizes the Scss declarations like this?



.someBlockName {

  &__someElement {}




So that in template I can use `<div class="someBlockName__someElement">` and the definition correctly points to the nested Scss declaration?

So far I've only been able to correctly locate definition if the class name is a top level declaration, so `<div class="someBlockName">` works correctly.


Please sign in to leave a comment.