Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Autocomplete for ERB in Sublime

Is there a package or snippet I can use to activate autocompletion for ERB (.html.erb) files in Sublime?

I'm not talking about shortcuts like https://github.com/eddorre/SublimeERB provides. I want to start typing "<%" and than Sublime to offer me the autocomplete suggestions "<% %>, <%= %>..." similar to what happens when I enter "<d" Sublime suggest the "<div>" tag autocompletion.

like image 421
Twiek Avatar asked Jun 13 '13 10:06

Twiek


1 Answers

I recommend using ERB snippet, it covers major erb tags

https://github.com/matthewrobertson/ERB-Sublime-Snippets

like image 118
Pawan Giri Avatar answered Nov 13 '22 10:11

Pawan Giri