What’s mining: language specific highlighting in heredocs

Posted on by Oleg Shpynov

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

Comments below can no longer be edited.

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

  1. sriram says:

    October 14, 2010

    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. J. Pablo Fernández says:

    October 14, 2010

    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:

    October 25, 2010

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

  4. J. Pablo Fernández says:

    November 12, 2010

    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:

    November 12, 2010

    J. Pablo,

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

Subscribe

Subscribe for updates