使用webstrom自定义模板: 1.打开webstrom 2.点击file——setting 3.查询“live templates后,点击”右侧“+” 4.Template text中填写快捷方式内容。 下方“Noapplicable contexts yet”后有按钮:点击“define”选择应用场景。 Abbreviation:设置快捷键为bt3 5.点击“apply”应用 6.点击OK