# -- mode: snippet -- # name: comments # key: comment # –
<?php /** * Author: henry * Date: 这里获取当前的时间 * File: 获取当前的文件名称 * description: xxxx */ $0# -- mode: snippet -- # name: comments # key: comment # –
<?php /** * Author: henry * Date: 这里获取当前的时间 * File: 获取当前的文件名称 * description: xxxx */ $0(format-time-string "%Y%m%d%H%M%S")
(file-name-nondirectory (buffer-file-name))