1.koroFileHeader插件安裝
2.添加配置深员,管理->設置->搜索fileheader->打開setting.json編輯
添加如下配置信息姿染,要和"fileheader.configObj"同級添加蚤蔓,否則不生效
// 文件頭部注釋
"fileheader.customMade": {
"Descripttion": "這是測試",
"version": "",
"Author": "CoderXin",
"Date": "new Date()",
"LastEditors": "CoderXin",
"LastEditTime": "new Date()"
},
//函數(shù)注釋
"fileheader.cursorMode": {
"name": "",
"msg": "",
"param": "",
"return": ""
}
3.查看并修改注釋快捷鍵,管理->鍵盤快捷方式
文件頭部注釋院尔,ctrl+alt+i
函數(shù)注釋说榆,ctrl+alt+t