方式一

选中要包裹代码 + Ctrl + Alt +t

方式二

有时候,遇到快捷键冲突,则上述方式会失效,此时

选中要包裹的代码 + Ctrl +Alt + wins +t

方式三

如果不嫌麻烦,可自行设置快捷键