安装KoroFileHeader
Vscode设置里搜索fileheader
{
"explorer.confirmDelete": false,
"liveServer.settings.donotShowInfoMsg": true,
"explorer.confirmDragAndDrop": false,
"editor.fontFamily": "JetBrains Mono, 'Courier New', monospace",
"backgroundCover.imagePath": "d:\\WDR8500\\1.jpg",
"backgroundCover.opacity": 0.8,
"window.zoomLevel": 1,
"editor.fontLigatures": null,
"git.enableSmartCommit": true,
"git.autofetch": true,
"git.confirmSync": false,
"diffEditor.ignoreTrimWhitespace": false,
"workbench.colorCustomizations": {
"[Community Material Theme Darker High Contrast]": {}
},
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "Gruvbox Dark Hard",
"[html]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"extensions.ignoreRecommendations": true,
"editor.minimap.enabled": false,
// 文件头部注释
"fileheader.customMade": {
"Description": "",
"version": "",
"Author": "sueRim",
"Date": "Do not edit",
"LastEditors": "sueRim",
"LastEditTime": "Do not Edit"
},
//函数注释
"fileheader.cursorMode": {
"name": "",
"test": "test font",
"msg": "",
"param": "",
"return": ""
}
}
映射cursortip
ctrl alt i 头部注释
映射fileheader
ctrl alt t 代码头注释