zoukankan      html  css  js  c++  java
  • vs code中自动添加注释插件koroFileHeader

    github链接及教程:

    https://github.com/OBKoro1/koro1FileHeader

    使用方法:

    1.安装插件koroFileHeader

    2.文件->首选项->设置->搜索fileheader->settings.json编辑

    3.按照上述github教程中添加

      "fileheader.customMade": {} // 头部注释
      "fileheader.cursorMode": {} // 函数注释 

    4.保存退出,重启vscode

    5.快捷键

    ctrl+alt+i 备注抬头

    ctrl+alt+t 备注插入点

    参考了网上的教程,防线这个插件很方便,因此集成在vscode中,添加注释是很方便的。

    我自己的设置如下:基本上是够用了


        "fileheader.customMade": {    //此为头部注释
            "Description": "",
            "FilePath": "Do not edit",
            "Version": "1.0",
            "Autor": "liming",
            "Date": "Do not edit",
            "LastEditors": "liming",
            "LastEditTime": "Do not edit",
        },

        "fileheader.cursorMode": {  //此为函数注释
            "description":"",
            "param": "",
            "return": "",
            "author":"liming",
        }
  • 相关阅读:
    SpringMVC的 @RestController和@Controller 区别
    Explain的使用
    spring定时任务详解
    C++提高---模板
    小练习--感悟点
    06文件操作
    05多态
    04继承
    Mismatch between array dtype ('<U18') and format specifier ('%.18e')
    01基础
  • 原文地址:https://www.cnblogs.com/CodeWorkerLiMing/p/12063510.html
Copyright © 2011-2022 走看看