vscode 注释插件 korofileheader配置


korofileheader 注释插件 设置里面找到 Custom Made 写入以下配置   "fileheader.customMade": {    //此为头部注释
        "Description": "", "Version": "2.0", "Autor": "lhl", "Date": "Do not edit", "LastEditors": "lhl", "LastEditTime": "Do not edit" }, "fileheader.cursorMode": {  //此为函数注释
        "description":"", "param": "", "return": "", "author":"lhl" }, "fileheader.configObj": { "autoAdd": true, // 默认开启自动添加头部注释,当文件没有设置头部注释时保存会自动添加
        "autoAlready": true, // 默认开启
        "prohibitAutoAdd": [ "json", "md" ], // 禁止.json .md文件,自动添加头部注释
        "wideSame": false, // 设置为true开启
        "wideNum": 13 // 字段长度 默认为13
 } ctrl+alt+i,添加 文件头 注释 ctrl+alt+t,添加 函数 注释

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM