zoukankan      html  css  js  c++  java
  • vs2010中自动给函数或者类加上注释宏模板

    Sub AddFunComment()
            Dim DocSel As EnvDTE.TextSelection
            DocSel = DTE.ActiveDocument.Selection
            DocSel.NewLine()
            DocSel.Text = "/*******************************************************************"
            DocSel.NewLine()
            DocSel.Text = "* File Name: "
            DocSel.NewLine()
            DocSel.Text = "* Author: ZhangFeng "
            DocSel.NewLine()
            DocSel.Text = "* Date: " + System.DateTime.Now.ToLongDateString()
            DocSel.NewLine()
            DocSel.Text = "* brief: "
            DocSel.NewLine()
            DocSel.Text = "* version: "
            DocSel.NewLine()
            DocSel.Text = "********************************************************************* "
            DocSel.NewLine()
            DocSel.Text = "* History change record "
            DocSel.NewLine()
            DocSel.Text = "*********************************************************************  "
            DocSel.NewLine()
            DocSel.Text = "* version:                     Date:                    Changer "
            DocSel.NewLine()
            DocSel.Text = "* Modify content: "
            DocSel.NewLine()
            DocSel.Text = "*********************************************************************  "
            DocSel.NewLine()
            DocSel.Text = "* All Right Reserved. Copyright(C) 2018 Clarion Co., Ltd. "
            DocSel.NewLine()
            DocSel.Text = "*********************************************************************/ "
            
        End Sub
    View Code
  • 相关阅读:
    握手挥手状态(转)
    牛客笔记
    Redis常见面试题
    SpringBoot整合Redis及Redis工具类撰写(转)
    Netty中FastThreadLocal源码分析(转)
    计算机网络各层涉及协议(转)
    计算机小网络小笔记
    数据库
    操作系统提供的接口
    可重入锁和不可重入锁
  • 原文地址:https://www.cnblogs.com/zhangfengfly/p/9073348.html
Copyright © 2011-2022 走看看