emmet not support erb

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

3 comments
Comment actions Permalink

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

0
Comment actions Permalink

who know the ready-to-use templates?

0
Comment actions Permalink

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

Please sign in to leave a comment.