1: 打开编辑器左上角的 "file" ,点击 "settings"; 2: 在"editor" 中找到 "Live Templates"; 3: 点击PHP 进去然后照猫画虎就好. . . 转载于:https://my.oschina.net/u/3693757/blog/1813634