vscode 快捷生成header注释
2020-02-27 本文已影响0人
Kelly_zj
1、安装插件koroFileHeader,如下图
koroFileHeader
2、打开vscode左下角的设置搜索fileheader更改setting.json(更改任意一个即可)添加以下内容(可更改author,lastEditors)
// 文件头部注释
"fileheader.customMade": {
"Descripttion": "",
"Author": "zj",
"Date": "Do not edit",
"LastEditors": "zj",
"LastEditTime": "Do not Edit"
}
3、按F1或者shift+command+p 输入fileheader回车就会在当前文件头部生成注释信息
/*
* @Descripttion:
* @Author: zj
* @Date: 2020-02-27 11:54:17
* @LastEditors: zj
* @LastEditTime: 2020-02-27 12:02:41
*/