RubyMine does not highlight ruby code in files

RubyMine does not highlight ruby code inside files despite the plugin is ON (Plugins sections in Settings) and coffeescript itself is highlighted. I can not move to /works/modal pressing F4 or even see it highlighted properly.

Comment actions Permalink

RubyMine consider files as ERB only when file is located under assets/javascript directory. Could you provide related path of file

Comment actions Permalink

My is located under app/views/categories path. But,

1) it's my home project and on my working project (on a daily job) ruby code is interpreted correctly

2) I've tried to insert ruby code into file on another project under app/assets/javascripts folder and it's still not highlighted
I'm opening both projects from my home machine and from one RubyMine instance. So I presume the trouble dwells somewhere in settings.


Please sign in to leave a comment.