vb.net-study-04 to attach importance to write a comment -vb.net procedures - how to automatically generate class header comments

Disclaimer: This article is a blogger original article, by allowing the bloggers are free to share, try not to be used for commercial purposes. https://blog.csdn.net/matrixbbs/article/details/91489262

Requires a file comments

The contents of the notes must be added are: Copyright, version number, generate relations date, author, content, functionality, and other files, modify logs, comments, header files should also have a brief description of the function function.
Class header template

Public Class $safeitemname$
'**********************************************
'文件名:$safeitemname$
'命名空间:$rootnamespace$
'内容:
'功能:
'文件关系:
'作者:郑丰华
'小组:
'生成日期:$time$
'版本号:V1.0.0.0
'修改日志:
'版权说明:
'**********************************************
End Class

2 position

C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplatesCache\VisualBasic\Code\2052\Class.zip

There is one called "Class.vb" file

3 comments template parameters Reading

Here Insert Picture Description

4 attention should be paid to write to explain

1 to facilitate their future fast reading comprehension program, otherwise, need to re-learn a lot about
between 2 programmers to effectively and efficiently communicate and exchange
3 to facilitate their in-depth understanding of the program, the general should be the first to write notes, write program
4 does not write notes, turning the other programmers chasing cut ah

Guess you like

Origin blog.csdn.net/matrixbbs/article/details/91489262