PhpStorm - 文件模板配置
打赏作者

duo

笔记:
Command + shift + a 输入file template
添加Eloquent Model

#if (${NAMESPACE})
namespace ${NAMESPACE};
#end
use Illuminate\Database\Eloquent\Model;

class ${NAME} extends Model {
    protected \$fillable = [];
}
JellyBool 回复 duo

可以可以!!

wwhu668

请教一下
PHP Function Doc Comment
方法注释里怎样加上日期时间的:如

    /**
     * @date   2017-08-07T16:43:45+080
    ...
     * @return vold
     */
HectorChan 回复 wwhu668

好像是一个 File Header可以··

lihuatu

{USER}   current user system login name {DATE}
 
current system date
{TIME}   current system time {YEAR}
 
current year
{MONTH}   current month {DAY}
 
current day of the month
${HOUR}
 
current hour

mjc19891202

我用的win10,没有command键咋办

JellyBool 回复 mjc19891202

ctrl 键吧,差不多

eluotao

Mac PhpStorm 2019 版的 Command + Shift 呼不出目录 请问功能叫什么 我搜索重置快捷键