1、进入File | Settings | 编辑器 | File and Code Templates
2、设置PHP File Header
/**
* @user: tom
* @date: ${DATE}
* @createTime: ${TIME}
* @company: 科技有限公司 http://www.keji.com
*/
2、设置PHP Class Doc Comment
3、设置PHP Class Doc Comment
注:当新建函数后,在函数上面输入【/*\】然后点击回车键就出来注释了。
4、设置PHP Class Doc Comment