Add default header comments to vs files

Source: Internet
Author: User

Find the path of the class file: C: \ Program Files (x86) \ Microsoft Visual Studio 12.0 \ common7 \ ide \ itemtemplatescache \ CSHARP \ code \ 2052 \ class

1. Open the class. CS file and insert the following code in the file header:

1 # add a comment to the region file 2/* ========================================== =================== 3 * function description: $ safeitemrootname $4 * Creator: Wang Guangxu 5 * creation date: $ time $6 * CLR version: $ clrversion $7 * Machine Name: $ machinename $8 * User's domain: $ userdomain $9 * Registration Organization Name: $ registeredorganization $10 * namespace name: $ rootnamespace $11 * Current logon Username: $ username $12 * ======================================== ================= */13 # endregion

The effect of the new file is as follows:

2. Add comments to files such as interfaces.

Add default header comments to vs files

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.