Rubymine HTML Element is not closed

Answered

Rubymine can't not handle a mix of HTML code and Ruby code.

<% if (true) %>
<div>
<% else %>
<div>
<% end %>

</div>

The code completion feature says: Element div is not closed

It can not understand the ruby condition if / else / end.

It that a bug ?

 

 

 

0
3 comments

Hello Sven,

it appears to be a known problem, please take a look: https://youtrack.jetbrains.com/issue/RUBY-19918

0

Okay, yes it seems to be. And when I can expected to be fixed ?

0

We plan to fix it in 2018.2, but in case you add your vote to the issue you'll receive notifications regarding its state.

0

Please sign in to leave a comment.