您现在的位置:首页 >> 前端 >> 内容

phpstorm设置默认注释的方法教程

时间:2018/5/8 16:55:47 点击:

  核心提示: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")

Tags:PH HP PS ST 
作者:网络 来源:bigsea622的