emmet not support erb Haozh Created September 25, 2016 09:09 i want emmet to support erb like sublime text. for example, when i type pe + tab, i will get <%= %>
I find "Live Templates" can give me the ability, but need define the template myself.
who know the ready-to-use templates?
To enable HTML Emmet in ERB, you just need changing ZenHtml live templates context: Settings | Editor | Live Templates | Zen HTML, select any template, check Applicable in... | ERB:
but for ERB-specific tags, like <%= %>, you need creating your own Live templates - see https://youtrack.jetbrains.com/issue/WEB-14112#comment=27-840205
You can select all templates, then right-click > "Change context".