In IDEA I can select a block of html and press ctrl+alt+t to surround that with a tag. I am trying to find the option/keymapping to do the opposite… I want to select a block of html and remove the outermost surrounding tag. Here’s an example:
<div id="one">
<div id="two">Hello</div>
</div>
If I select the #one div in the editor I should be able to have it removed, leaving only this:
<div id="two">Hello</div>
Any way to have IDEA do this for me?
Code | Unwrap/Remove… Ctrl+Shift+Delete
(Cmd+Shift+fn+Backspace on Mac)