emmet not support erb

i want emmet to support erb like sublime text. for example, when i type pe + tab, i will get <%=  %>

0
4 comments

I find "Live Templates" can give me the ability, but need define the template myself. 

0

who know the ready-to-use templates?

0

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

0

You can select all templates, then right-click > "Change context".

1

Please sign in to leave a comment.