1,点击左上角的files 2,选择settings 3,选择editor中的live templates ,并点击右侧的+号,选择live template 4,填写快捷键名称,描述和内容,选择使用的语言.