File -> settings -> Directories -> Add Content Root 中添加目录
输入fore,按下Tab,会直接输出foreach ( as $item) {}。 输入forek,按下Tab,会直接输出foreach ( as $index => $item) { }。 输入pubf,按下Tab,会直接输出public function 。