RubyMine (2026.1, 2026.2): Invalid parsing (and color syntax) JavaScript code in html.erb (ERB templates)
已完成
Since RubyMine 2026.1 (and now in 2026.2) is errors of parsing JavaScript code in html.erb (ERB templates) files. This image is just an isolated example, but it happens very often.

请先登录再写评论。
Hello,
Thank you for the report. I've submitted a corresponding issue on our tracker, so could you please add your vote to it.