Vs automatically adds comments to the file header and vs adds comments.

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.