Bem-VSCode-Extension icon indicating copy to clipboard operation
Bem-VSCode-Extension copied to clipboard

when "bemHelper.modifierSeparator" setting change, generateStylesheet can't work properly

Open mirages opened this issue 3 years ago • 1 comments

when I set "bemHelper.modifierSeparator" to "_", autofix and generateStylesheet can't work properly. Is there any restrictions?

mirages avatar Jun 25 '21 08:06 mirages

Hi, there is a restriction that you won't be able to use the single - or _ characters as separators as they are used for kebab-case and snake_case classnames. If you instead use a double __ or -- then the extension will work as expected

Box-Of-Hats avatar Sep 23 '21 21:09 Box-Of-Hats