emmet not support erb

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

6 comments
Comment actions Permalink

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

1
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
Comment actions Permalink

Do I really need to go and set each one individually?

0
Comment actions Permalink

Duhh...

That's much easier thanks!

0

Please sign in to leave a comment.