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