在代码文件头部,输入 header
,回车,自动生成文件注释
Python
{"HEADER": {"prefix": "header","body": ["# -*- encoding: utf-8 -*-", "\"\"\"","Date : $CURRENT_YEAR/$CURRENT_MONTH/$CURRENT_DATE $CURRENT_HOUR:$CURRENT_MINUTE:$CURRENT_SECOND","Author : 你的名字","\"\"\"","","$0"],}
}
C++
{"HEADER": {"prefix": "header","body": ["#pragma once","","///****************************************************************************","/// Date : $CURRENT_YEAR/$CURRENT_MONTH/$CURRENT_DATE $CURRENT_HOUR:$CURRENT_MINUTE:$CURRENT_SECOND","/// Author : 你的名字","///****************************************************************************","","$0"],}
}