Unwrap code constructs in JavaScript / ActionScript

Sometimes when you are editing JavaScript/ActionScript code, you need to remove, say, an enclosing if statement without touching a current code block.

In Maia you can just invoke Unwrap/Remove action (Control+Shift+Delete in Windows keymap), which allows to precisely select which construct to unwrap:

Voila! The edited code block is unwrapped and in place!

BTW, this handy action works in XML/HTML/JSP files, where it removes enclosing tags.

Enjoy developing with pleasure!

This entry was posted in New Features and tagged , , , . Bookmark the permalink.

Leave a Reply

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