PhpStrom配置--模板


----------------------------使用 /** + Enter 在函数前生成带参数注释的设置----------------------------

位置 File -> Settings -> Editor -> File And Code Template -> Includes -> PHP Function Doc Comment.

/**
 * @desc 
 ${PARAM_DOC}
 * @return 

*/

/**
 * @desc  
 * @param $table 
 * @param $condition 
 * @param $fields 
 * @return 
 */
public function row($table, $condition, $fields = '*');

${PARAM_DOC} 会自动拉取下边函数内的参数生成列表。

猜你喜欢

转载自blog.csdn.net/z772532526/article/details/80549357