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
Comments below can no longer be edited.
Frank says:
January 18, 2012You 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.