核心提示:phpstorm设置默认注释的方法教程SettingsEditorLive Templates选择默认注释的文件类型Abbreviation 输入 简写,此 简写 是当输入之后按 tab 然后自动补齐...
phpstorm设置默认注释的方法教程
Settings > Editor > Live Templates
选择默认注释的文件类型
Abbreviation 输入 简写,此 简写 是当输入之后按 tab 然后自动补齐的
Templates text 自动补齐的代码内容
/* * @Author: $creater$ * @Date: $nowTime$ * @Last Modified by: $editer$ * @Last Modified time: $nowTime$ */
Edit variables 编辑自动补齐代码中设置的变量
以nowTime 举例
nowTime
date("yyyy-MM-dd HH:mm:ss")