自定义代码模块Live Template的使用 菜单操作:File->Settings->Live Templates->Python->点加号 使用模板的时候,输入名称->选中需要的模板->按回车键 代码就添加成功啦