Vs automatically adds comments to the file header and vs adds comments.
Vs2010C: \ Program Files (x86) \ Microsoft Visual Studio 10.0 \ Common7 \ IDE \ ItemTemplatesCache \ CSharp \ Code \ 2052 \ Class.zip -- Open Class. cs and add the following contentOpen the folder under C: \ Program Files (x86) \ Microsoft Visual Studio 10.0 \ Common7 \ IDE \ ItemTemplatesCache \ CSharp \ Code \ 2052 \, and open *. add the following content to the cs file.
Vs2012 modify the Class file C: \ Program Files (x86) \ Microsoft Visual Studio 11.0 \ Common7 \ IDE \ ItemTemplatesCache \ CSharp \ Code \ 2052 \ Class -- open the Class. cs, add the following contentOpen the folder under C: \ Program Files (x86) \ Microsoft Visual Studio 11.0 \ Common7 \ IDE \ ItemTemplatesCache \ CSharp \ Code \ 2052 \, and open *. add the following content to the cs file.Vs2013 Class file C: \ Program Files (x86) \ Microsoft Visual Studio 12.0 \ Common7 \ IDE \ ItemTemplatesCache \ CSharp \ Code \ 2052 \ Class -- open the Class. cs, add the following contentOpen the folder under C: \ Program Files (x86) \ Microsoft Visual Studio 12.0 \ Common7 \ IDE \ ItemTemplatesCache \ CSharp \ Code \ 2052 \, and open *. add the following content to the cs file./*************************************** **************************************** *
** Copyright (c) $ year $ registeredorganization $ All Rights Reserved.
** Auth :***
** Mail: *** @ 126.com
** Date: $ time $
** Desc: no description has been written.
** Ver: V1.0.0
**************************************** **************************************** */
Where can I use a tool to automatically add comments (File Header description, function description) to a program?
Write it by yourself. If vc is used, some functions of visual assist may be helpful.
Try Comment Wizard.
Visual C ++ plug-in provides Visual C ++ source code annotation standardization and automation functions. With its help, you can quickly create header file information annotations, file module annotations, C ++ processing methods, and C language functions and historical correction function annotations.
Vs2010 Add a header comment to the code
Use {} or the front of each row to add //
For example, {Author:
Creation Time:
Last modification time}
// Prepared:
// Creation Time