- Ctrl + shitf + p 打開插件中心,搜索koroFileHeader進行安裝
- 在菜單文件->首選項->設置中搜索koroFileHeader,點擊Cursor Mode或者Custom Made的Settings.json進行編輯
- 添加如下代碼
// 文件頭部注釋
"fileheader.customMade": {
"Descripttion":"",
"version":"V1.0",
"Author":"xxx",
"Date":"Do not edit",
"LastEditors":"xxx",
"LastEditTime":"Do not Edit"
},
//函數注釋
"fileheader.cursorMode": {
"filename":"",
"test":"test font",
"msg":"",
"param":"",
"return":""
}