Surround code fragments

You can quickly wrap a code block in useful constructs. Select it in the editor and press &shortcut:SurroundWith; (Code | Surround With).

Surround with