This extension allows you to take classes named in BEM format in any HTML/Vue/whatever file and creates the nested classes inside the specified SASS file
Features
Generate SCSS markup from any file with BEM format naming conventions
BEM format is as follos
Block Element Modifier
BLOCK - Standalone component that is meaningful on its own (.block)
ELEMENT - Part of a block that has no standalone meaning (.block__element)
MODIFIER - A different version of a block or an element (.block__element—modifier)
For example if your file has the following format:
To use simply press CMD/CTRL + Shift + P and use Generate SCSS, I will be adding command option soon
Tip: Many popular extensions utilize animations. This is an excellent way to show off your extension! We recommend short, focused animations that are easy to follow.