B
B
bormor2018-07-14 15:25:44
css
bormor, 2018-07-14 15:25:44

BEM in VScode - how to set your own preferences?

Using BEM modified by Nicholas Gallagher (.block__element--modificator)
By default, BEM in VSCode uses snippets like:
.block>.-element
How can I replace them with these?
.block>._element
In the settings I try the option

"emmet.preferences": {
        "bem.elementSeparator": "__",
        "bem.modifierSeparator": "--",
        "bem.shortElementPrefix": "_",
        "css.autoInsertVendorPrefixes": false,
        "caniuse.vendors": false,
    },

Does not help.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question