JavaScript-inside-Ruby-highlighting

Dear Forums,

im using Netzke Framework for RoR/ExtJS RIA development. I'm missing syntax highlighting of JavaScript inside Ruby files.
The creator has provided a snipped for TextMate though:

When JS is in the following form
<<-JS   // JavaScript code comes here JS


It can be highlighted with:

{ name = "source.js"; begin = "<<-JS"; end = "JS"; patterns = ( { include = "source.js"; } ); },


Is this possible in RubyMine? Is RubyMine TextMate-compatible for bundles?

Thanks,
Paul
1 comment
Comment actions Permalink

Hello Paul,

RubyMine is not compatible with Textmate bundles, however we have a request for this: http://youtrack.jetbrains.net/issue/RUBY-6446

Regards,
Oleg

0

Please sign in to leave a comment.