To quickly wrap a code block in a construct, select it in the editor and press &shortcut:SurroundWith; (Code | Surround With).
The list of available options ("wrappers") is context-sensitive and depends on the language. For example, you can surround html blocks with tags, and so on.
