Using the mouse
-
Mark your code
-
Right-click
-
Select
Surround with... -
Double-click
try
Using the keyboard #1
-
Mark your code using Shift,
Ctrl + A, or whatever works for you -
Press
Menu key/Application key(alternatively Shift + F10) -
Type S
-
Type T
-
Press Enter or Tab
Using the keyboard #2 (as perlox and Fredrik Norlin points out)
-
Mark your code using Shift,
Ctrl + A, or whatever works for you -
Press Ctrl + K, followed by CTRL + S
-
Type T
-
Press Enter or Tab