1) 鼠标框选要包裹的代码块

2) 按下ctrl + alt + t 调出下拉选项框

3) 选择你想要的try模式,有3种

    6.try/catch

    7.try/finally

    8.try/cathc/finally

 

OK,完毕!