phpstorm 设置方法名 函数名注释  新建页面作者日期信息注释

 

官方提供的文档地址:

  http://www.jetbrains.com/phpstorm/help/creating-php-documentation-comments.html#d745077e199

 

由于英文水平有限 自己总结了一下操作步骤:

  file-> setting-> FIle and Code Template-> Includes-> PHP Function Doc Comment 

phpstorm 方法名类名 作者日期 注释

 

参考设置:

/**
 * 
${PARAM_DOC}
#if (${TYPE_HINT} != "void") * @return ${TYPE_HINT}
#end
${THROWS_DOC}
 * @author ${USER}
 * @date ${YEAR}-${MONTH}-${DAY} ${TIME}
*/

效果:

phpstorm 方法名类名 作者日期 注释

 

相关文章:

  • 2021-08-03
  • 2022-01-13
  • 2021-10-05
  • 2022-02-04
  • 2021-08-17
  • 2021-05-11
  • 2021-12-07
猜你喜欢
  • 2021-08-21
  • 2021-12-08
  • 2022-12-23
  • 2021-12-22
  • 2021-12-28
  • 2021-11-19
相关资源
相似解决方案