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,添加 函数 注释

 

posted @ 2020-03-27 16:45  蓝色帅-橙子哥  阅读(10765)  评论(0编辑  收藏  举报