- Select the desired code fragment.
- On the main menu, choose , or press Ctrl+Alt+TCtrl+Alt+T. A pop-up window displays the list of enclosing statements according to the context.
- Select the desired surround statement from the list. To do that, use the mouse cursor, or a shortcut key displayed next to each element of the list.


