I use the SublimeText3. I have installed the ERB Snippet package to have ability to use if, if-else, end, etc
snippets into html.erb files.
But into ST3 when I try to open foo.html.erb
file it always is opened with ERB, not HTML(Rails) view. By default ERB Snippet works only into text.html.ruby
scope, so to make it run I need for each opened html.erb
file to use 'Open all with current extension', which is annoying.
So the questions are:
- Is it possible to figure out ST3 to open
html.erb
with HTML(Rails) view instead of ERB? - Or is it possible to figure out ERB Snippets to work with ERB scope?