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
  • 相关阅读:
    PHP—字符串编码
    使用html模板
    创建html模板
    默认.htpl改为.htpl
    eclipse导入项目前面有感叹号
    eclipse点不出方法
    eclipse界面混乱
    面试题
    多线程
    瀑布流
  • 原文地址:https://www.cnblogs.com/zhangfengfly/p/9073348.html
Copyright © 2011-2022 走看看