1、在webstorm中,点击file菜单栏,进入settings设置选项
2、选中Editor中的live Templates(动态模板)
3、点开javascript,点击+添加按钮
4、填写模板
注释:
(1)Abbreviation(缩写):填写了can,即输入can按tap键,就会自动生成代码模板
(2)description:模板介绍
(3)Templates text:模板文字内容,如:我的模板是:
1、在webstorm中,点击file菜单栏,进入settings设置选项
2、选中Editor中的live Templates(动态模板)
3、点开javascript,点击+添加按钮
4、填写模板
注释:
(1)Abbreviation(缩写):填写了can,即输入can按tap键,就会自动生成代码模板
(2)description:模板介绍
(3)Templates text:模板文字内容,如:我的模板是: