Visual Studio Code - erb and html together

Viewed 2860

I have a .erb Which means that I have HTML syntax inline.

File association for .erb is .erb using Ruby Extension and Simple Ruby Extension, I also have the HTML Snippets extension installed

What I want is to provide HTML snippets within the .erb file - but it seems I can only have one of the other.

HTML Snippets gives if I add *.erb: "html" then I lose the .erb snippets

"files.associations": {
        // extension name : html
        "*.ejs": "html",
        "*.js": "html"
    }

Any help appreciated.

1 Answers
Related