What’s mining: language specific highlighting in heredocs

Hello guys,

Despite the fact that RubyMine 2.5 if going to be released soon, we still find place for some small but pretty useful features and want to share it with you.

Now I am talking about language-specific code highlighting within heredoc literals for JavaScript, HTML and CSS. This request has got a lot of your votes, so we are quite sure that you’ll like the feature.

Here are some screenshots:

Note that highlighting works even if you have Ruby injections inside literals.

This functionality will be available in the nearest RubyMine EAP build coming this week.
Thanks for reading and stay tuned!

- Develop with pleasure!
JetBrains RubyMine Team

This entry was posted in Feature, WhatsMining and tagged . Bookmark the permalink.

5 Responses to What’s mining: language specific highlighting in heredocs

  1. sriram says:

    Hi

    Just checked out rubymine today using the trial version. Really like it (svn integration is awesome!) but I cannot find a straightforward way of editing files on remote machines. This is pretty much all I do everyday: edit on different development and test machines. So do you foresee incorporating this feature?

    Thanks
    Sriram

  2. Awesome! I always hate code inside strings because we lose all editor capabilities. You’ve fixed it. That’s awesome.

    sriram: I very rarely edit remote files. All my Ruby projects are running on my machine and I can’t really imagine it otherwise. I code locally and deploy with capistrano. Even for sysadmin I code locally, deploy and let Puppet take care on the servers. Are you sure you are not trying to solve the wrong problem by editing remotely?

  3. Bill says:

    Hallelujah! This is a terrific change, one I’ve been long waiting for. Can’t wait!

  4. Does it work for SQL? That would be quite useful for me at the moment (yes, I know… what are you doing? PHP? *sigh*).

  5. Oleg Shpynov says:

    J. Pablo,

    It doesn’t at the moment, however once RubyMine gets SQL support, it will work.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">