What’s Mining: Faster Code Modifications with “Unwrap”

RubyMine makes code editing agile and easy with code fragment surrounding actions. To choose one just hit Ctrl+Alt+T / Cmd+Opt+T and invoke “Surround With” panel:

From the last EAP version RubyMine also supports code fragment unwrapping actions, inverting the ones from “Surround With”. They can be invoked by hitting Ctrl+Shift+Del / Cmd+Shift+Del:

Please note, that a special color highlighting shows code fragments to be deleted and to remain. Take a look at how we can revert the first “Surround With” action:

Voila! Feel free to surround and unwrap for faster code editing.

Note: Of course both surround and unwrap actions support Undo action.


Develop with pleasure!
JetBrains RubyMine Team

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

One Response to What’s Mining: Faster Code Modifications with “Unwrap”

  1. Frank says:

    You know guys all of these are really useful, but you should integrate an up-to-date reference card and include a “most helpful” or “rapid results” section that will actually show the keys that are most used to accomplish tasks with an actual use case / scenario. You’ve got a great editor, but I don’t think 5% of us tap the full power that you’re providing.

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="">