VS2013 Automatic Comment Plugin

Source: Internet
Author: User

Have you ever seen this writing in a program? The entire project each CS file header contains a, copyright, version and other information of the comment header?

Similar to this class file:

/************************************************************************* ======================== Enterprise number development Local commissioning ======================== Garsonzhang qq:382237285 Small ads: "WinForm rapid development Framework, please pay attention to gzframwork, follow the author Garsonzhang" Thank you for using this program , open source to the end if you have new needs, please contact me to increase your support ************************************************************************/usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;namespaceqywxlocaldebug{ Public classConvertex { Public Static stringToString (Objectobj) {//Type conversion            stringTMP =string. Empty;Try{tmp = obj.            ToString (); }Catch{tmp =string.            Empty; }returntmp } Public Static intToInt (Objectobj) {intTMP = 0;Try{tmp = Convert.ToInt32 (obj); }Catch{tmp = 0; }returntmp } Public Static intToInt (ObjectObjintErrorvalue) {intTMP = Errorvalue;Try{tmp = Convert.ToInt32 (obj); }Catch{tmp = Errorvalue; }returntmp }    }}
View Code

Baidu, it is not difficult to find many solutions online, the most common is: http://blog.csdn.net/gelupu/article/details/18715629

In this way, it is possible to achieve the goal, but if you have two items at the same time, do you want to annotate the header differently? And not every time it's copied?

It's tricky. In view of this demand, I specifically wrote a comment plugin "Vstcustomernote.vsix", I use the environment for VS2013

First here to download the plugin Http://pan.baidu.com/s/1iC6IU

Unzip to get two files after download

Installation steps:

One, DLL is to be added to the global cache, add method see http://blog.csdn.net/flywei2012/article/details/9056867

Install (note Running with administrator)

Second, install the Vstcustomernote.vsix plug-in (double-click installation):

When the installation is complete, start vs and review the extensions and updates below the tool:

If there is a plugin that is successful for installation (please contact q:382237285 for installation failure), you can perform the following demo:

In the use of the process of understanding it

VS2013 Automatic Comment Plugin

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.