Incorrect indentation for ERB files.
I have ERB, HTML, and Ruby set to 2 spaces for indentation. However, inside an ERB file, I'll wind up with something like this:
<% if @foo %>
....<div>
<% end %>
Instead of 2 spaces, there are 4 spaces used. Anyone know what's going on there?
Please sign in to leave a comment.
Hello Andrew,
that's a known issue so please vote and follow it:
https://youtrack.jetbrains.com/issue/RUBY-16183
It's going to be fixed in RubyMine 2017.1.