使⽤用 Eclipse PDT 开发 PHP 时,经常需要敲⼀一些重复的代码语句,例如 CodeIgniter 的$this->db->func
可以利⽤用 Eclipse 设置⾥里⾯面的“代码⽚片断/Templates”去实现快速编码。
Eclipse PDT -> Preferences -> PHP -> Editor -> Templates

先新建⼀一个代码⽚片断(New...)
使⽤用 Eclipse PDT 开发 PHP 时,经常需要敲⼀一些重复的代码语句,例如 CodeIgniter 的$this->db->func
可以利⽤用 Eclipse 设置⾥里⾯面的“代码⽚片断/Templates”去实现快速编码。
Eclipse PDT -> Preferences -> PHP -> Editor -> Templates

先新建⼀一个代码⽚片断(New...)