phpstorm函数注释设置

首先,PhpStorm中文件、类、函数等注释的设置在:setting-》Editor-》FIle and Code Template-》Includes,如下图

PHP Function Doc Comment 增加如下注释

/**
${PARAM_DOC}
#if (${TYPE_HINT} != "void") * @return ${TYPE_HINT}
#end
${THROWS_DOC}
  * User: liangyuquan
  * Date: ${DATE} ${TIME}
*/

 

 

posted @ 2021-05-29 10:53  GreenForestQuan  阅读(641)  评论(0编辑  收藏  举报